#956CD3#956CD3

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

Color values

HEX#956CD3
RGBrgb(149, 108, 211)
HSLhsl(264, 54%, 63%)
HSVhsv(264, 49%, 83%)
CMYKcmyk(29.4%, 48.8%, 0%, 17.3%)
CIE-LABlab(53.83, 37.57, -47.37)
CIE-LCHlch(53.83, 60.46, 308.42°)
OKLaboklab(61.75% 0.0779 -0.1332)
OKLCHoklch(61.75% 0.154 300.3)
XYZxyz(29.5121, 21.8177, 64.2718)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CD3 #AAD36C
analogous
#6C77D3 #956CD3 #C86CD3
triadic
#956CD3 #D3956C #6CD395
tetradic
#956CD3 #D36C77 #AAD36C #6CD3C8
square
#956CD3 #D36C77 #AAD36C #6CD3C8
split-complementary
#956CD3 #D3C86C #77D36C
monochromatic
#572D97 #733DC5 #956CD3 #B79BE1 #D9CAEF

Accessibility & contrast

On white

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

On black

5.36
#956CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CD3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CD3#FFFFFF#000000##000000
##956CD31.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D7
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#897F96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #956cd3;
/* rgb */ color: rgb(149, 108, 211);
/* oklch */ color: oklch(61.7% 0.154 300.3);
Tailwind
colors: {
  custom: {
    50: '#b797e1',
    500: '#956cd3',
    950: '#000000',
  },
}
SCSS
$custom: #956cd3;
$custom-light: #b797e1;
$custom-dark: #000000;
JSON
{
  "hex": "#956cd3",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 263.883,
    "s": 53.927,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61745,
    "c": 0.15431,
    "h": 300.3
  },
  "luminance": 0.21818
}

Semantic roles & 50–950 ramp

primary
#956CD3
secondary
#D1E0BB
accent
#C12483
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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