#956FE9#956FE9

#956FE9 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.5% C 0.178 H 295.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#956FE9
RGBrgb(149, 111, 233)
HSLhsl(259, 73%, 67%)
HSVhsv(259, 52%, 91%)
CMYKcmyk(36.1%, 52.4%, 0%, 8.6%)
CIE-LABlab(55.73, 41.48, -56.74)
CIE-LCHlch(55.73, 70.29, 306.17°)
OKLaboklab(63.55% 0.0758 -0.1606)
OKLCHoklch(63.55% 0.178 295.2)
XYZxyz(32.7831, 23.6410, 79.9110)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FE9 #C3E96F
analogous
#6F86E9 #956FE9 #D26FE9
triadic
#956FE9 #E9956F #6FE995
tetradic
#956FE9 #E96F86 #C3E96F #6FE9D2
square
#956FE9 #E96F86 #C3E96F #6FE9D2
split-complementary
#956FE9 #E9D26F #86E96F
monochromatic
#501DC0 #6E3AE1 #956FE9 #BCA4F1 #E3D9F9

Accessibility & contrast

On white

3.67
#956FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#956FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FE9
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FE9#FFFFFF#000000##000000
##956FE91.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D86ED
Deuteranopia (green-blind)
#4684E6
Tritanopia (blue-blind)
#8188A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956fe9;
/* rgb */ color: rgb(149, 111, 233);
/* oklch */ color: oklch(63.5% 0.178 295.2);
Tailwind
colors: {
  custom: {
    50: '#b899f1',
    500: '#956fe9',
    950: '#000000',
  },
}
SCSS
$custom: #956fe9;
$custom-light: #b899f1;
$custom-dark: #000000;
JSON
{
  "hex": "#956fe9",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 233
  },
  "hsl": {
    "h": 258.689,
    "s": 73.494,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6355,
    "c": 0.1776,
    "h": 295.2
  },
  "luminance": 0.23642
}

Semantic roles & 50–950 ramp

primary
#956FE9
secondary
#E1EDC7
accent
#D61098
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #956FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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