#956EE4#956EE4

#956EE4 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.1% C 0.173 H 296.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#956EE4
RGBrgb(149, 110, 228)
HSLhsl(260, 69%, 66%)
HSVhsv(260, 52%, 89%)
CMYKcmyk(34.6%, 51.8%, 0%, 10.6%)
CIE-LABlab(55.22, 40.75, -54.75)
CIE-LCHlch(55.22, 68.25, 306.66°)
OKLaboklab(63.08% 0.0767 -0.1548)
OKLCHoklch(63.08% 0.173 296.4)
XYZxyz(31.9704, 23.1424, 76.1663)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EE4 #BDE46E
analogous
#6E82E4 #956EE4 #D06EE4
triadic
#956EE4 #E4956E #6EE495
tetradic
#956EE4 #E46E82 #BDE46E #6EE4D0
square
#956EE4 #E46E82 #BDE46E #6EE4D0
split-complementary
#956EE4 #E4D06E #82E46E
monochromatic
#5322B6 #6F3ADA #956EE4 #BBA2EE #E0D5F7

Accessibility & contrast

On white

3.73
#956EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#956EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EE4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EE4#FFFFFF#000000##000000
##956EE41.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E8
Deuteranopia (green-blind)
#4A83E1
Tritanopia (blue-blind)
#83859F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956ee4;
/* rgb */ color: rgb(149, 110, 228);
/* oklch */ color: oklch(63.1% 0.173 296.4);
Tailwind
colors: {
  custom: {
    50: '#b898ed',
    500: '#956ee4',
    950: '#000000',
  },
}
SCSS
$custom: #956ee4;
$custom-light: #b898ed;
$custom-dark: #000000;
JSON
{
  "hex": "#956ee4",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 259.831,
    "s": 68.605,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6308,
    "c": 0.17277,
    "h": 296.4
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

primary
#956EE4
secondary
#DDEAC4
accent
#D11593
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #956EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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