#956CEE#956CEE

#956CEE is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.4% C 0.188 H 295.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#956CEE
RGBrgb(149, 108, 238)
HSLhsl(259, 79%, 68%)
HSVhsv(259, 55%, 93%)
CMYKcmyk(37.4%, 54.6%, 0%, 6.7%)
CIE-LABlab(55.37, 44.46, -60.11)
CIE-LCHlch(55.37, 74.76, 306.49°)
OKLaboklab(63.38% 0.0796 -0.1705)
OKLCHoklch(63.38% 0.188 295)
XYZxyz(33.1856, 23.2871, 83.6188)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CEE #C5EE6C
analogous
#6C84EE #956CEE #D66CEE
triadic
#956CEE #EE956C #6CEE95
tetradic
#956CEE #EE6C84 #C5EE6C #6CEED6
square
#956CEE #EE6C84 #C5EE6C #6CEED6
split-complementary
#956CEE #EED66C #84EE6C
monochromatic
#4F17C8 #6D35E8 #956CEE #BDA3F4 #E4DAFB

Accessibility & contrast

On white

3.71
#956CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#956CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CEE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CEE#FFFFFF#000000##000000
##956CEE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F2
Deuteranopia (green-blind)
#3C83EB
Tritanopia (blue-blind)
#7F87A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956cee;
/* rgb */ color: rgb(149, 108, 238);
/* oklch */ color: oklch(63.4% 0.188 295.0);
Tailwind
colors: {
  custom: {
    50: '#b997f4',
    500: '#956cee',
    950: '#000000',
  },
}
SCSS
$custom: #956cee;
$custom-light: #b997f4;
$custom-dark: #000000;
JSON
{
  "hex": "#956cee",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 258.923,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.18818,
    "h": 295
  },
  "luminance": 0.23288
}

Semantic roles & 50–950 ramp

primary
#956CEE
secondary
#E2EFC7
accent
#DC0A99
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #956CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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