#956AEE#956AEE

#956AEE is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.1% C 0.191 H 295.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#956AEE
RGBrgb(149, 106, 238)
HSLhsl(260, 80%, 67%)
HSVhsv(260, 55%, 93%)
CMYKcmyk(37.4%, 55.5%, 0%, 6.7%)
CIE-LABlab(54.94, 45.57, -60.79)
CIE-LCHlch(54.94, 75.98, 306.86°)
OKLaboklab(63.06% 0.082 -0.1725)
OKLCHoklch(63.06% 0.191 295.4)
XYZxyz(32.9771, 22.8700, 83.5493)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AEE #C3EE6A
analogous
#6A81EE #956AEE #D76AEE
triadic
#956AEE #EE956A #6AEE95
tetradic
#956AEE #EE6A81 #C3EE6A #6AEED7
square
#956AEE #EE6A81 #C3EE6A #6AEED7
split-complementary
#956AEE #EED76A #81EE6A
monochromatic
#5017C7 #6E33E8 #956AEE #BCA1F4 #E3D8FB

Accessibility & contrast

On white

3.77
#956AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#956AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AEE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AEE#FFFFFF#000000##000000
##956AEE1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2984F2
Deuteranopia (green-blind)
#3882EB
Tritanopia (blue-blind)
#7F86A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956aee;
/* rgb */ color: rgb(149, 106, 238);
/* oklch */ color: oklch(63.1% 0.191 295.4);
Tailwind
colors: {
  custom: {
    50: '#b996f4',
    500: '#956aee',
    950: '#000000',
  },
}
SCSS
$custom: #956aee;
$custom-light: #b996f4;
$custom-dark: #000000;
JSON
{
  "hex": "#956aee",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 259.545,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63062,
    "c": 0.19104,
    "h": 295.4
  },
  "luminance": 0.22871
}

Semantic roles & 50–950 ramp

primary
#956AEE
secondary
#E1EFC5
accent
#DC0A97
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #956AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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