#956BE8#956BE8

#956BE8 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.8% C 0.182 H 296.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#956BE8
RGBrgb(149, 107, 232)
HSLhsl(260, 73%, 66%)
HSVhsv(260, 54%, 91%)
CMYKcmyk(35.8%, 53.9%, 0%, 9%)
CIE-LABlab(54.79, 43.46, -57.67)
CIE-LCHlch(54.79, 72.22, 307.00°)
OKLaboklab(62.84% 0.0806 -0.1634)
OKLCHoklch(62.84% 0.182 296.3)
XYZxyz(32.2139, 22.7306, 79.0185)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BE8 #BEE86B
analogous
#6B80E8 #956BE8 #D46BE8
triadic
#956BE8 #E8956B #6BE895
tetradic
#956BE8 #E86B80 #BEE86B #6BE8D4
square
#956BE8 #E86B80 #BEE86B #6BE8D4
split-complementary
#956BE8 #E8D46B #80E86B
monochromatic
#521DBB #6F36E0 #956BE8 #BBA0F0 #E1D5F8

Accessibility & contrast

On white

3.79
#956BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#956BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BE8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BE8#FFFFFF#000000##000000
##956BE81.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584EC
Deuteranopia (green-blind)
#4181E5
Tritanopia (blue-blind)
#82849F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956be8;
/* rgb */ color: rgb(149, 107, 232);
/* oklch */ color: oklch(62.8% 0.182 296.3);
Tailwind
colors: {
  custom: {
    50: '#b896f0',
    500: '#956be8',
    950: '#000000',
  },
}
SCSS
$custom: #956be8;
$custom-light: #b896f0;
$custom-dark: #000000;
JSON
{
  "hex": "#956be8",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 232
  },
  "hsl": {
    "h": 260.16,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6284,
    "c": 0.18219,
    "h": 296.3
  },
  "luminance": 0.22731
}

Semantic roles & 50–950 ramp

primary
#956BE8
secondary
#DEECC3
accent
#D51093
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #956BE8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#956BE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva