#956AE5#956AE5

#956AE5 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.5% C 0.180 H 297.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#956AE5
RGBrgb(149, 106, 229)
HSLhsl(261, 70%, 66%)
HSVhsv(261, 54%, 90%)
CMYKcmyk(34.9%, 53.7%, 0%, 10.2%)
CIE-LABlab(54.40, 43.25, -56.62)
CIE-LCHlch(54.40, 71.25, 307.37°)
OKLaboklab(62.49% 0.0818 -0.1603)
OKLCHoklch(62.49% 0.18 297)
XYZxyz(31.6878, 22.3543, 76.7589)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AE5 #BAE56A
analogous
#6A7CE5 #956AE5 #D36AE5
triadic
#956AE5 #E5956A #6AE595
tetradic
#956AE5 #E56A7C #BAE56A #6AE5D3
square
#956AE5 #E56A7C #BAE56A #6AE5D3
split-complementary
#956AE5 #E5D36A #7CE56A
monochromatic
#5420B5 #7036DC #956AE5 #BA9EEE #DFD2F7

Accessibility & contrast

On white

3.84
#956AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#956AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AE5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AE5#FFFFFF#000000##000000
##956AE51.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3683E9
Deuteranopia (green-blind)
#4381E2
Tritanopia (blue-blind)
#83839D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956ae5;
/* rgb */ color: rgb(149, 106, 229);
/* oklch */ color: oklch(62.5% 0.180 297.0);
Tailwind
colors: {
  custom: {
    50: '#b896ee',
    500: '#956ae5',
    950: '#000000',
  },
}
SCSS
$custom: #956ae5;
$custom-light: #b896ee;
$custom-dark: #000000;
JSON
{
  "hex": "#956ae5",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 260.976,
    "s": 70.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62493,
    "c": 0.17993,
    "h": 297
  },
  "luminance": 0.22355
}

Semantic roles & 50–950 ramp

primary
#956AE5
secondary
#DCEAC1
accent
#D2138F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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