#956DE2#956DE2

#956DE2 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.172 H 297.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#956DE2
RGBrgb(149, 109, 226)
HSLhsl(261, 67%, 66%)
HSVhsv(261, 52%, 89%)
CMYKcmyk(34.1%, 51.8%, 0%, 11.4%)
CIE-LABlab(54.88, 40.80, -54.16)
CIE-LCHlch(54.88, 67.81, 306.99°)
OKLaboklab(62.8% 0.0778 -0.1531)
OKLCHoklch(62.8% 0.172 297)
XYZxyz(31.5871, 22.8174, 74.6768)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DE2 #BAE26D
analogous
#6D7FE2 #956DE2 #CF6DE2
triadic
#956DE2 #E2956D #6DE295
tetradic
#956DE2 #E26D7F #BAE26D #6DE2CF
square
#956DE2 #E26D7F #BAE26D #6DE2CF
split-complementary
#956DE2 #E2CF6D #7FE26D
monochromatic
#5423B1 #703AD8 #956DE2 #BAA0EC #DFD3F6

Accessibility & contrast

On white

3.77
#956DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#956DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DE2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DE2#FFFFFF#000000##000000
##956DE21.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4084E6
Deuteranopia (green-blind)
#4A82DF
Tritanopia (blue-blind)
#84849D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956de2;
/* rgb */ color: rgb(149, 109, 226);
/* oklch */ color: oklch(62.8% 0.172 297.0);
Tailwind
colors: {
  custom: {
    50: '#b898ec',
    500: '#956de2',
    950: '#000000',
  },
}
SCSS
$custom: #956de2;
$custom-light: #b898ec;
$custom-dark: #000000;
JSON
{
  "hex": "#956de2",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 226
  },
  "hsl": {
    "h": 260.513,
    "s": 66.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62795,
    "c": 0.17174,
    "h": 297
  },
  "luminance": 0.22818
}

Semantic roles & 50–950 ramp

primary
#956DE2
secondary
#DCE9C2
accent
#CF1790
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #956DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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