#956DF7#956DF7

#956DF7 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.1% C 0.198 H 293.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#956DF7
RGBrgb(149, 109, 247)
HSLhsl(257, 90%, 70%)
HSVhsv(257, 56%, 97%)
CMYKcmyk(39.7%, 55.9%, 0%, 3.1%)
CIE-LABlab(56.13, 46.27, -63.89)
CIE-LCHlch(56.13, 78.88, 305.92°)
OKLaboklab(64.12% 0.0786 -0.1816)
OKLCHoklch(64.12% 0.198 293.4)
XYZxyz(34.6471, 24.0414, 90.7926)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DF7 #CFF76D
analogous
#6D8AF7 #956DF7 #DA6DF7
triadic
#956DF7 #F7956D #6DF795
tetradic
#956DF7 #F76D8A #CFF76D #6DF7DA
square
#956DF7 #F76D8A #CFF76D #6DF7DA
split-complementary
#956DF7 #F7DA6D #8AF76D
monochromatic
#490CDD #6B33F4 #956DF7 #BFA7FA #E9E1FD

Accessibility & contrast

On white

3.62
#956DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#956DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DF7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DF7#FFFFFF#000000##000000
##956DF71.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2288FC
Deuteranopia (green-blind)
#3084F4
Tritanopia (blue-blind)
#7B8AA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956df7;
/* rgb */ color: rgb(149, 109, 247);
/* oklch */ color: oklch(64.1% 0.198 293.4);
Tailwind
colors: {
  custom: {
    50: '#b998fb',
    500: '#956df7',
    950: '#000000',
  },
}
SCSS
$custom: #956df7;
$custom-light: #b998fb;
$custom-dark: #000000;
JSON
{
  "hex": "#956df7",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 257.391,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64116,
    "c": 0.19789,
    "h": 293.4
  },
  "luminance": 0.24042
}

Semantic roles & 50–950 ramp

primary
#956DF7
secondary
#E8F3CC
accent
#E600A3
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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