#956DF4#956DF4

#956DF4 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.9% C 0.194 H 293.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#956DF4
RGBrgb(149, 109, 244)
HSLhsl(258, 86%, 69%)
HSVhsv(258, 55%, 96%)
CMYKcmyk(38.9%, 55.3%, 0%, 4.3%)
CIE-LABlab(55.95, 45.48, -62.52)
CIE-LCHlch(55.95, 77.31, 306.04°)
OKLaboklab(63.92% 0.0785 -0.1776)
OKLCHoklch(63.92% 0.194 293.9)
XYZxyz(34.1879, 23.8577, 88.3741)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DF4 #CCF46D
analogous
#6D89F4 #956DF4 #D96DF4
triadic
#956DF4 #F4956D #6DF495
tetradic
#956DF4 #F46D89 #CCF46D #6DF4D9
square
#956DF4 #F46D89 #CCF46D #6DF4D9
split-complementary
#956DF4 #F4D96D #89F46D
monochromatic
#4B10D6 #6C34F0 #956DF4 #BEA6F8 #E8DFFD

Accessibility & contrast

On white

3.64
#956DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#956DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DF4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DF4#FFFFFF#000000##000000
##956DF41.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2888F9
Deuteranopia (green-blind)
#3584F1
Tritanopia (blue-blind)
#7D8AA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956df4;
/* rgb */ color: rgb(149, 109, 244);
/* oklch */ color: oklch(63.9% 0.194 293.9);
Tailwind
colors: {
  custom: {
    50: '#b998f8',
    500: '#956df4',
    950: '#000000',
  },
}
SCSS
$custom: #956df4;
$custom-light: #b998f8;
$custom-dark: #000000;
JSON
{
  "hex": "#956df4",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 244
  },
  "hsl": {
    "h": 257.778,
    "s": 85.987,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63922,
    "c": 0.1942,
    "h": 293.9
  },
  "luminance": 0.23858
}

Semantic roles & 50–950 ramp

primary
#956DF4
secondary
#E6F2CB
accent
#E303A0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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