#956CE4#956CE4

#956CE4 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.8% C 0.176 H 296.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#956CE4
RGBrgb(149, 108, 228)
HSLhsl(261, 69%, 66%)
HSVhsv(261, 53%, 89%)
CMYKcmyk(34.6%, 52.6%, 0%, 10.6%)
CIE-LABlab(54.78, 41.87, -55.45)
CIE-LCHlch(54.78, 69.49, 307.06°)
OKLaboklab(62.75% 0.0792 -0.1569)
OKLCHoklch(62.75% 0.176 296.8)
XYZxyz(31.7571, 22.7157, 76.0952)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CE4 #BBE46C
analogous
#6C7FE4 #956CE4 #D16CE4
triadic
#956CE4 #E4956C #6CE495
tetradic
#956CE4 #E46C7F #BBE46C #6CE4D1
square
#956CE4 #E46C7F #BBE46C #6CE4D1
split-complementary
#956CE4 #E4D16C #7FE46C
monochromatic
#5321B4 #7038DB #956CE4 #BAA0ED #E0D3F7

Accessibility & contrast

On white

3.79
#956CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#956CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CE4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CE4#FFFFFF#000000##000000
##956CE41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E8
Deuteranopia (green-blind)
#4782E1
Tritanopia (blue-blind)
#83849E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956ce4;
/* rgb */ color: rgb(149, 108, 228);
/* oklch */ color: oklch(62.8% 0.176 296.8);
Tailwind
colors: {
  custom: {
    50: '#b897ed',
    500: '#956ce4',
    950: '#000000',
  },
}
SCSS
$custom: #956ce4;
$custom-light: #b897ed;
$custom-dark: #000000;
JSON
{
  "hex": "#956ce4",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 260.5,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62754,
    "c": 0.17573,
    "h": 296.8
  },
  "luminance": 0.22716
}

Semantic roles & 50–950 ramp

primary
#956CE4
secondary
#DCEAC2
accent
#D11591
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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