#956DF2#956DF2

#956DF2 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.8% C 0.192 H 294.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#956DF2
RGBrgb(149, 109, 242)
HSLhsl(258, 84%, 69%)
HSVhsv(258, 55%, 95%)
CMYKcmyk(38.4%, 55%, 0%, 5.1%)
CIE-LABlab(55.82, 44.95, -61.60)
CIE-LCHlch(55.82, 76.26, 306.12°)
OKLaboklab(63.79% 0.0785 -0.1749)
OKLCHoklch(63.79% 0.192 294.2)
XYZxyz(33.8859, 23.7369, 86.7835)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DF2 #CAF26D
analogous
#6D88F2 #956DF2 #D86DF2
triadic
#956DF2 #F2956D #6DF295
tetradic
#956DF2 #F26D88 #CAF26D #6DF2D8
square
#956DF2 #F26D88 #CAF26D #6DF2D8
split-complementary
#956DF2 #F2D86D #88F26D
monochromatic
#4C13D2 #6C35ED #956DF2 #BEA5F7 #E7DDFC

Accessibility & contrast

On white

3.65
#956DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#956DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DF2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DF2#FFFFFF#000000##000000
##956DF21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C87F6
Deuteranopia (green-blind)
#3884EF
Tritanopia (blue-blind)
#7E89A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956df2;
/* rgb */ color: rgb(149, 109, 242);
/* oklch */ color: oklch(63.8% 0.192 294.2);
Tailwind
colors: {
  custom: {
    50: '#b998f7',
    500: '#956df2',
    950: '#000000',
  },
}
SCSS
$custom: #956df2;
$custom-light: #b998f7;
$custom-dark: #000000;
JSON
{
  "hex": "#956df2",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 258.045,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63793,
    "c": 0.19172,
    "h": 294.2
  },
  "luminance": 0.23738
}

Semantic roles & 50–950 ramp

primary
#956DF2
secondary
#E5F1CA
accent
#E0059E
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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