#956BC9#956BC9

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

Color values

HEX#956BC9
RGBrgb(149, 107, 201)
HSLhsl(267, 47%, 60%)
HSVhsv(267, 47%, 79%)
CMYKcmyk(25.9%, 46.8%, 0%, 21.2%)
CIE-LABlab(53.08, 35.68, -42.87)
CIE-LCHlch(53.08, 55.77, 309.77°)
OKLaboklab(61.01% 0.0781 -0.1201)
OKLCHoklch(61.01% 0.143 303)
XYZxyz(28.1924, 21.1220, 57.8387)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BC9 #9FC96B
analogous
#6B70C9 #956BC9 #C46BC9
triadic
#956BC9 #C9956B #6BC995
tetradic
#956BC9 #C96B70 #9FC96B #6BC9C4
square
#956BC9 #C96B70 #9FC96B #6BC9C4
split-complementary
#956BC9 #C9C46B #70C96B
monochromatic
#583288 #7542B5 #956BC9 #B598D9 #D5C5EA

Accessibility & contrast

On white

4.02
#956BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#956BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BC9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BC9#FFFFFF#000000##000000
##956BC91.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECC
Deuteranopia (green-blind)
#5B7FC7
Tritanopia (blue-blind)
#8C7B90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #956bc9;
/* rgb */ color: rgb(149, 107, 201);
/* oklch */ color: oklch(61.0% 0.143 303.0);
Tailwind
colors: {
  custom: {
    50: '#b696da',
    500: '#956bc9',
    950: '#000000',
  },
}
SCSS
$custom: #956bc9;
$custom-light: #b696da;
$custom-dark: #000000;
JSON
{
  "hex": "#956bc9",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 201
  },
  "hsl": {
    "h": 266.809,
    "s": 46.535,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61014,
    "c": 0.14322,
    "h": 303
  },
  "luminance": 0.21122
}

Semantic roles & 50–950 ramp

primary
#956BC9
secondary
#CADAB6
accent
#BA2C7A
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D15
muted
#807E83

Preview Lab

Preview with #956BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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