#956DF6#956DF6

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

Color values

HEX#956DF6
RGBrgb(149, 109, 246)
HSLhsl(258, 88%, 70%)
HSVhsv(258, 56%, 96%)
CMYKcmyk(39.4%, 55.7%, 0%, 3.5%)
CIE-LABlab(56.07, 46.01, -63.43)
CIE-LCHlch(56.07, 78.36, 305.95°)
OKLaboklab(64.05% 0.0786 -0.1803)
OKLCHoklch(64.05% 0.197 293.5)
XYZxyz(34.4932, 23.9798, 89.9821)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DF6 #CEF66D
analogous
#6D8AF6 #956DF6 #D96DF6
triadic
#956DF6 #F6956D #6DF695
tetradic
#956DF6 #F66D8A #CEF66D #6DF6D9
square
#956DF6 #F66D8A #CEF66D #6DF6D9
split-complementary
#956DF6 #F6D96D #8AF66D
monochromatic
#4A0EDB #6B33F2 #956DF6 #BFA7FA #E9E0FD

Accessibility & contrast

On white

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

On black

5.80
#956DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DF6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DF6#FFFFFF#000000##000000
##956DF61.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2488FB
Deuteranopia (green-blind)
#3284F3
Tritanopia (blue-blind)
#7C8AA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956df6;
/* rgb */ color: rgb(149, 109, 246);
/* oklch */ color: oklch(64.1% 0.197 293.5);
Tailwind
colors: {
  custom: {
    50: '#b998fa',
    500: '#956df6',
    950: '#000000',
  },
}
SCSS
$custom: #956df6;
$custom-light: #b998fa;
$custom-dark: #000000;
JSON
{
  "hex": "#956df6",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 257.518,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64051,
    "c": 0.19666,
    "h": 293.5
  },
  "luminance": 0.23981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #956DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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