#956AE4#956AE4

#956AE4 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.4% C 0.179 H 297.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#956AE4
RGBrgb(149, 106, 228)
HSLhsl(261, 69%, 65%)
HSVhsv(261, 54%, 89%)
CMYKcmyk(34.6%, 53.5%, 0%, 10.6%)
CIE-LABlab(54.34, 42.99, -56.15)
CIE-LCHlch(54.34, 70.72, 307.44°)
OKLaboklab(62.43% 0.0817 -0.1589)
OKLCHoklch(62.43% 0.179 297.2)
XYZxyz(31.5486, 22.2986, 76.0257)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AE4 #B9E46A
analogous
#6A7CE4 #956AE4 #D26AE4
triadic
#956AE4 #E4956A #6AE495
tetradic
#956AE4 #E46A7C #B9E46A #6AE4D2
square
#956AE4 #E46A7C #B9E46A #6AE4D2
split-complementary
#956AE4 #E4D26A #7CE46A
monochromatic
#5420B3 #7036DB #956AE4 #BA9EED #DFD2F7

Accessibility & contrast

On white

3.85
#956AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#956AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AE4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AE4#FFFFFF#000000##000000
##956AE41.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3782E8
Deuteranopia (green-blind)
#4481E1
Tritanopia (blue-blind)
#83839D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956ae4;
/* rgb */ color: rgb(149, 106, 228);
/* oklch */ color: oklch(62.4% 0.179 297.2);
Tailwind
colors: {
  custom: {
    50: '#b896ed',
    500: '#956ae4',
    950: '#000000',
  },
}
SCSS
$custom: #956ae4;
$custom-light: #b896ed;
$custom-dark: #000000;
JSON
{
  "hex": "#956ae4",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 261.148,
    "s": 69.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62431,
    "c": 0.1787,
    "h": 297.2
  },
  "luminance": 0.22299
}

Semantic roles & 50–950 ramp

primary
#956AE4
secondary
#DBE9C0
accent
#D1148F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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