#956DEF#956DEF

#956DEF is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.6% C 0.188 H 294.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#956DEF
RGBrgb(149, 109, 239)
HSLhsl(258, 80%, 68%)
HSVhsv(258, 54%, 94%)
CMYKcmyk(37.7%, 54.4%, 0%, 6.3%)
CIE-LABlab(55.64, 44.17, -60.22)
CIE-LCHlch(55.64, 74.68, 306.26°)
OKLaboklab(63.6% 0.0784 -0.1709)
OKLCHoklch(63.6% 0.188 294.7)
XYZxyz(33.4390, 23.5581, 84.4300)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DEF #C7EF6D
analogous
#6D86EF #956DEF #D66DEF
triadic
#956DEF #EF956D #6DEF95
tetradic
#956DEF #EF6D86 #C7EF6D #6DEFD6
square
#956DEF #EF6D86 #C7EF6D #6DEFD6
split-complementary
#956DEF #EFD66D #86EF6D
monochromatic
#4E16CB #6D36E9 #956DEF #BDA4F5 #E5DBFB

Accessibility & contrast

On white

3.68
#956DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#956DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DEF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DEF#FFFFFF#000000##000000
##956DEF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F3
Deuteranopia (green-blind)
#3C83EC
Tritanopia (blue-blind)
#7F88A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956def;
/* rgb */ color: rgb(149, 109, 239);
/* oklch */ color: oklch(63.6% 0.188 294.7);
Tailwind
colors: {
  custom: {
    50: '#b998f5',
    500: '#956def',
    950: '#000000',
  },
}
SCSS
$custom: #956def;
$custom-light: #b998f5;
$custom-dark: #000000;
JSON
{
  "hex": "#956def",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 258.462,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63601,
    "c": 0.188,
    "h": 294.7
  },
  "luminance": 0.23559
}

Semantic roles & 50–950 ramp

primary
#956DEF
secondary
#E3F0C8
accent
#DD099B
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #956DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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