#956CEC#956CEC

#956CEC is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.3% C 0.186 H 295.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#956CEC
RGBrgb(149, 108, 236)
HSLhsl(259, 77%, 67%)
HSVhsv(259, 54%, 93%)
CMYKcmyk(36.9%, 54.2%, 0%, 7.5%)
CIE-LABlab(55.25, 43.94, -59.18)
CIE-LCHlch(55.25, 73.71, 306.59°)
OKLaboklab(63.25% 0.0796 -0.1678)
OKLCHoklch(63.25% 0.186 295.4)
XYZxyz(32.8934, 23.1702, 82.0799)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CEC #C3EC6C
analogous
#6C83EC #956CEC #D56CEC
triadic
#956CEC #EC956C #6CEC95
tetradic
#956CEC #EC6C83 #C3EC6C #6CECD5
square
#956CEC #EC6C83 #C3EC6C #6CECD5
split-complementary
#956CEC #ECD56C #83EC6C
monochromatic
#5019C4 #6E36E5 #956CEC #BCA2F3 #E3D8FA

Accessibility & contrast

On white

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

On black

5.63
#956CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CEC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CEC#FFFFFF#000000##000000
##956CEC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285F0
Deuteranopia (green-blind)
#3E82E9
Tritanopia (blue-blind)
#8086A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956cec;
/* rgb */ color: rgb(149, 108, 236);
/* oklch */ color: oklch(63.3% 0.186 295.4);
Tailwind
colors: {
  custom: {
    50: '#b997f3',
    500: '#956cec',
    950: '#000000',
  },
}
SCSS
$custom: #956cec;
$custom-light: #b997f3;
$custom-dark: #000000;
JSON
{
  "hex": "#956cec",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 259.219,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63252,
    "c": 0.18571,
    "h": 295.4
  },
  "luminance": 0.23171
}

Semantic roles & 50–950 ramp

primary
#956CEC
secondary
#E1EEC6
accent
#D90C98
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #956CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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