#956DF1#956DF1

#956DF1 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.7% C 0.190 H 294.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#956DF1
RGBrgb(149, 109, 241)
HSLhsl(258, 83%, 69%)
HSVhsv(258, 55%, 95%)
CMYKcmyk(38.2%, 54.8%, 0%, 5.5%)
CIE-LABlab(55.76, 44.69, -61.14)
CIE-LCHlch(55.76, 75.73, 306.17°)
OKLaboklab(63.73% 0.0785 -0.1736)
OKLCHoklch(63.73% 0.19 294.3)
XYZxyz(33.7361, 23.6770, 85.9947)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DF1 #C9F16D
analogous
#6D87F1 #956DF1 #D76DF1
triadic
#956DF1 #F1956D #6DF195
tetradic
#956DF1 #F16D87 #C9F16D #6DF1D7
square
#956DF1 #F16D87 #C9F16D #6DF1D7
split-complementary
#956DF1 #F1D76D #87F16D
monochromatic
#4D14D0 #6C35EC #956DF1 #BEA5F6 #E6DDFC

Accessibility & contrast

On white

3.66
#956DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#956DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DF1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DF1#FFFFFF#000000##000000
##956DF11.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F5
Deuteranopia (green-blind)
#3983EE
Tritanopia (blue-blind)
#7E89A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956df1;
/* rgb */ color: rgb(149, 109, 241);
/* oklch */ color: oklch(63.7% 0.190 294.3);
Tailwind
colors: {
  custom: {
    50: '#b998f6',
    500: '#956df1',
    950: '#000000',
  },
}
SCSS
$custom: #956df1;
$custom-light: #b998f6;
$custom-dark: #000000;
JSON
{
  "hex": "#956df1",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 258.182,
    "s": 82.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63729,
    "c": 0.19049,
    "h": 294.3
  },
  "luminance": 0.23678
}

Semantic roles & 50–950 ramp

primary
#956DF1
secondary
#E5F1C9
accent
#DF079D
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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