#956BC8#956BC8

#956BC8 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.0% C 0.142 H 303.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#956BC8
RGBrgb(149, 107, 200)
HSLhsl(267, 46%, 60%)
HSVhsv(267, 47%, 78%)
CMYKcmyk(25.5%, 46.5%, 0%, 21.6%)
CIE-LABlab(53.03, 35.44, -42.38)
CIE-LCHlch(53.03, 55.24, 309.91°)
OKLaboklab(60.96% 0.0779 -0.1186)
OKLCHoklch(60.96% 0.142 303.3)
XYZxyz(28.0752, 21.0751, 57.2212)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BC8 #9EC86B
analogous
#6B6FC8 #956BC8 #C46BC8
triadic
#956BC8 #C8956B #6BC895
tetradic
#956BC8 #C86B6F #9EC86B #6BC8C4
square
#956BC8 #C86B6F #9EC86B #6BC8C4
split-complementary
#956BC8 #C8C46B #6FC86B
monochromatic
#583287 #7543B3 #956BC8 #B598D9 #D5C4E9

Accessibility & contrast

On white

4.03
#956BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#956BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BC8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BC8#FFFFFF#000000##000000
##956BC81.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECB
Deuteranopia (green-blind)
#5B7FC6
Tritanopia (blue-blind)
#8C7B90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #956bc8;
/* rgb */ color: rgb(149, 107, 200);
/* oklch */ color: oklch(61.0% 0.142 303.3);
Tailwind
colors: {
  custom: {
    50: '#b696d9',
    500: '#956bc8',
    950: '#000000',
  },
}
SCSS
$custom: #956bc8;
$custom-light: #b696d9;
$custom-dark: #000000;
JSON
{
  "hex": "#956bc8",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 200
  },
  "hsl": {
    "h": 267.097,
    "s": 45.813,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60959,
    "c": 0.14195,
    "h": 303.3
  },
  "luminance": 0.21075
}

Semantic roles & 50–950 ramp

primary
#956BC8
secondary
#C9D9B6
accent
#B92C7A
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #956BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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