#956CEB#956CEB

#956CEB is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.2% C 0.184 H 295.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#956CEB
RGBrgb(149, 108, 235)
HSLhsl(259, 76%, 67%)
HSVhsv(259, 54%, 92%)
CMYKcmyk(36.6%, 54%, 0%, 7.8%)
CIE-LABlab(55.19, 43.68, -58.72)
CIE-LCHlch(55.19, 73.18, 306.65°)
OKLaboklab(63.19% 0.0795 -0.1664)
OKLCHoklch(63.19% 0.184 295.5)
XYZxyz(32.7485, 23.1122, 81.3169)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CEB #C2EB6C
analogous
#6C83EB #956CEB #D56CEB
triadic
#956CEB #EB956C #6CEB95
tetradic
#956CEB #EB6C83 #C2EB6C #6CEBD5
square
#956CEB #EB6C83 #C2EB6C #6CEBD5
split-complementary
#956CEB #EBD56C #83EB6C
monochromatic
#511AC2 #6E36E4 #956CEB #BCA2F2 #E3D8FA

Accessibility & contrast

On white

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

On black

5.62
#956CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CEB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CEB#FFFFFF#000000##000000
##956CEB1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EF
Deuteranopia (green-blind)
#3F82E8
Tritanopia (blue-blind)
#8086A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956ceb;
/* rgb */ color: rgb(149, 108, 235);
/* oklch */ color: oklch(63.2% 0.184 295.5);
Tailwind
colors: {
  custom: {
    50: '#b897f2',
    500: '#956ceb',
    950: '#000000',
  },
}
SCSS
$custom: #956ceb;
$custom-light: #b897f2;
$custom-dark: #000000;
JSON
{
  "hex": "#956ceb",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 259.37,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63189,
    "c": 0.18447,
    "h": 295.5
  },
  "luminance": 0.23113
}

Semantic roles & 50–950 ramp

primary
#956CEB
secondary
#E0EDC5
accent
#D80D97
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #956CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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