#956FEB#956FEB

#956FEB is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.7% C 0.180 H 294.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#956FEB
RGBrgb(149, 111, 235)
HSLhsl(258, 76%, 68%)
HSVhsv(258, 53%, 92%)
CMYKcmyk(36.6%, 52.8%, 0%, 7.8%)
CIE-LABlab(55.84, 42.00, -57.67)
CIE-LCHlch(55.84, 71.34, 306.07°)
OKLaboklab(63.67% 0.0759 -0.1634)
OKLCHoklch(63.67% 0.18 294.9)
XYZxyz(33.0704, 23.7560, 81.4242)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FEB #C5EB6F
analogous
#6F87EB #956FEB #D36FEB
triadic
#956FEB #EB956F #6FEB95
tetradic
#956FEB #EB6F87 #C5EB6F #6FEBD3
square
#956FEB #EB6F87 #C5EB6F #6FEBD3
split-complementary
#956FEB #EBD36F #87EB6F
monochromatic
#4F1BC4 #6D39E4 #956FEB #BDA5F2 #E4DAFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##956FEB#FFFFFF#000000##000000
##956FEB1.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)
#3A87EF
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#8088A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956feb;
/* rgb */ color: rgb(149, 111, 235);
/* oklch */ color: oklch(63.7% 0.180 294.9);
Tailwind
colors: {
  custom: {
    50: '#b899f2',
    500: '#956feb',
    950: '#000000',
  },
}
SCSS
$custom: #956feb;
$custom-light: #b899f2;
$custom-dark: #000000;
JSON
{
  "hex": "#956feb",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 258.387,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63673,
    "c": 0.18012,
    "h": 294.9
  },
  "luminance": 0.23757
}

Semantic roles & 50–950 ramp

primary
#956FEB
secondary
#E2EEC8
accent
#D80E9A
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #956FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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