#956CD2#956CD2

#956CD2 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.153 H 300.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#956CD2
RGBrgb(149, 108, 210)
HSLhsl(264, 53%, 62%)
HSVhsv(264, 49%, 82%)
CMYKcmyk(29%, 48.6%, 0%, 17.6%)
CIE-LABlab(53.78, 37.32, -46.89)
CIE-LCHlch(53.78, 59.93, 308.52°)
OKLaboklab(61.69% 0.0778 -0.1318)
OKLCHoklch(61.69% 0.153 300.5)
XYZxyz(29.3872, 21.7677, 63.6136)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CD2 #A9D26C
analogous
#6C76D2 #956CD2 #C86CD2
triadic
#956CD2 #D2956C #6CD295
tetradic
#956CD2 #D26C76 #A9D26C #6CD2C8
square
#956CD2 #D26C76 #A9D26C #6CD2C8
split-complementary
#956CD2 #D2C86C #76D26C
monochromatic
#582E96 #733DC4 #956CD2 #B79BE0 #D9CAEF

Accessibility & contrast

On white

3.92
#956CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#956CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CD2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CD2#FFFFFF#000000##000000
##956CD21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D6
Deuteranopia (green-blind)
#5680CF
Tritanopia (blue-blind)
#897F95
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #956cd2;
/* rgb */ color: rgb(149, 108, 210);
/* oklch */ color: oklch(61.7% 0.153 300.5);
Tailwind
colors: {
  custom: {
    50: '#b797e0',
    500: '#956cd2',
    950: '#000000',
  },
}
SCSS
$custom: #956cd2;
$custom-light: #b797e0;
$custom-dark: #000000;
JSON
{
  "hex": "#956cd2",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 264.118,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.15304,
    "h": 300.5
  },
  "luminance": 0.21768
}

Semantic roles & 50–950 ramp

primary
#956CD2
secondary
#D1E0BA
accent
#C12582
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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