#956CEA#956CEA

#956CEA is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.1% C 0.183 H 295.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#956CEA
RGBrgb(149, 108, 234)
HSLhsl(260, 75%, 67%)
HSVhsv(260, 54%, 92%)
CMYKcmyk(36.3%, 53.8%, 0%, 8.2%)
CIE-LABlab(55.13, 43.42, -58.25)
CIE-LCHlch(55.13, 72.66, 306.70°)
OKLaboklab(63.13% 0.0795 -0.1651)
OKLCHoklch(63.13% 0.183 295.7)
XYZxyz(32.6045, 23.0546, 80.5581)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CEA #C1EA6C
analogous
#6C82EA #956CEA #D46CEA
triadic
#956CEA #EA956C #6CEA95
tetradic
#956CEA #EA6C82 #C1EA6C #6CEAD4
square
#956CEA #EA6C82 #C1EA6C #6CEAD4
split-complementary
#956CEA #EAD46C #82EA6C
monochromatic
#511BC0 #6E36E2 #956CEA #BCA2F2 #E2D7F9

Accessibility & contrast

On white

3.74
#956CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#956CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CEA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CEA#FFFFFF#000000##000000
##956CEA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585EE
Deuteranopia (green-blind)
#4082E7
Tritanopia (blue-blind)
#8186A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956cea;
/* rgb */ color: rgb(149, 108, 234);
/* oklch */ color: oklch(63.1% 0.183 295.7);
Tailwind
colors: {
  custom: {
    50: '#b897f1',
    500: '#956cea',
    950: '#000000',
  },
}
SCSS
$custom: #956cea;
$custom-light: #b897f1;
$custom-dark: #000000;
JSON
{
  "hex": "#956cea",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 259.524,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63126,
    "c": 0.18323,
    "h": 295.7
  },
  "luminance": 0.23055
}

Semantic roles & 50–950 ramp

primary
#956CEA
secondary
#E0EDC5
accent
#D70E96
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #956CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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