#956DFB#956DFB

#956DFB is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.4% C 0.203 H 292.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#956DFB
RGBrgb(149, 109, 251)
HSLhsl(257, 95%, 71%)
HSVhsv(257, 57%, 98%)
CMYKcmyk(40.6%, 56.6%, 0%, 1.6%)
CIE-LABlab(56.38, 47.33, -65.70)
CIE-LCHlch(56.38, 80.97, 305.77°)
OKLaboklab(64.38% 0.0786 -0.187)
OKLCHoklch(64.38% 0.203 292.8)
XYZxyz(35.2710, 24.2909, 94.0784)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DFB #D3FB6D
analogous
#6D8CFB #956DFB #DC6DFB
triadic
#956DFB #FB956D #6DFB95
tetradic
#956DFB #FB6D8C #D3FB6D #6DFBDC
square
#956DFB #FB6D8C #D3FB6D #6DFBDC
split-complementary
#956DFB #FBDC6D #8CFB6D
monochromatic
#4606E7 #6A31F9 #956DFB #C0A9FD #E9E1FE

Accessibility & contrast

On white

3.58
#956DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#956DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DFB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DFB#FFFFFF#000000##000000
##956DFB1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1889FF
Deuteranopia (green-blind)
#2985F8
Tritanopia (blue-blind)
#7A8CAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956dfb;
/* rgb */ color: rgb(149, 109, 251);
/* oklch */ color: oklch(64.4% 0.203 292.8);
Tailwind
colors: {
  custom: {
    50: '#ba98fd',
    500: '#956dfb',
    950: '#000000',
  },
}
SCSS
$custom: #956dfb;
$custom-light: #ba98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#956dfb",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 256.901,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64379,
    "c": 0.2028,
    "h": 292.8
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

primary
#956DFB
secondary
#EAF5CF
accent
#E600A5
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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