#956BC6#956BC6

#956BC6 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.9% C 0.139 H 303.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#956BC6
RGBrgb(149, 107, 198)
HSLhsl(268, 44%, 60%)
HSVhsv(268, 46%, 78%)
CMYKcmyk(24.7%, 46%, 0%, 22.4%)
CIE-LABlab(52.93, 34.96, -41.39)
CIE-LCHlch(52.93, 54.18, 310.18°)
OKLaboklab(60.85% 0.0777 -0.1158)
OKLCHoklch(60.85% 0.139 303.8)
XYZxyz(27.8430, 20.9822, 55.9983)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BC6 #9CC66B
analogous
#6B6FC6 #956BC6 #C26BC6
triadic
#956BC6 #C6956B #6BC695
tetradic
#956BC6 #C66B6F #9CC66B #6BC6C2
square
#956BC6 #C66B6F #9CC66B #6BC6C2
split-complementary
#956BC6 #C6C26B #6FC66B
monochromatic
#583384 #7644B0 #956BC6 #B597D7 #D4C3E8

Accessibility & contrast

On white

4.04
#956BC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#956BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BC6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BC6#FFFFFF#000000##000000
##956BC61.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#527DC9
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#8D7B8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956bc6;
/* rgb */ color: rgb(149, 107, 198);
/* oklch */ color: oklch(60.9% 0.139 303.8);
Tailwind
colors: {
  custom: {
    50: '#b696d8',
    500: '#956bc6',
    950: '#000000',
  },
}
SCSS
$custom: #956bc6;
$custom-light: #b696d8;
$custom-dark: #000000;
JSON
{
  "hex": "#956bc6",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 198
  },
  "hsl": {
    "h": 267.692,
    "s": 44.39,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6085,
    "c": 0.13942,
    "h": 303.8
  },
  "luminance": 0.20982
}

Semantic roles & 50–950 ramp

primary
#956BC6
secondary
#C8D8B5
accent
#D45499
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #956BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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