#956EF9#956EF9

#956EF9 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.199 H 292.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#956EF9
RGBrgb(149, 110, 249)
HSLhsl(257, 92%, 70%)
HSVhsv(257, 56%, 98%)
CMYKcmyk(40.2%, 55.8%, 0%, 2.4%)
CIE-LABlab(56.47, 46.25, -64.45)
CIE-LCHlch(56.47, 79.33, 305.66°)
OKLaboklab(64.4% 0.0774 -0.1833)
OKLCHoklch(64.4% 0.199 292.9)
XYZxyz(35.0646, 24.3801, 92.4625)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EF9 #D2F96E
analogous
#6E8CF9 #956EF9 #DB6EF9
triadic
#956EF9 #F9956E #6EF995
tetradic
#956EF9 #F96E8C #D2F96E #6EF9DB
square
#956EF9 #F96E8C #D2F96E #6EF9DB
split-complementary
#956EF9 #F9DB6E #8CF96E
monochromatic
#4709E3 #6A33F7 #956EF9 #C0A9FB #EAE2FE

Accessibility & contrast

On white

3.57
#956EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#956EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EF9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EF9#FFFFFF#000000##000000
##956EF91.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2289FE
Deuteranopia (green-blind)
#2F85F6
Tritanopia (blue-blind)
#7A8CA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956ef9;
/* rgb */ color: rgb(149, 110, 249);
/* oklch */ color: oklch(64.4% 0.199 292.9);
Tailwind
colors: {
  custom: {
    50: '#ba99fc',
    500: '#956ef9',
    950: '#000000',
  },
}
SCSS
$custom: #956ef9;
$custom-light: #ba99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#956ef9",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 249
  },
  "hsl": {
    "h": 256.835,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64404,
    "c": 0.19897,
    "h": 292.9
  },
  "luminance": 0.24381
}

Semantic roles & 50–950 ramp

primary
#956EF9
secondary
#EAF4CE
accent
#E600A5
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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