#956BB2#956BB2

#956BB2 is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.8% C 0.114 H 310.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#956BB2
RGBrgb(149, 107, 178)
HSLhsl(275, 32%, 56%)
HSVhsv(275, 40%, 70%)
CMYKcmyk(16.3%, 39.9%, 0%, 30.2%)
CIE-LABlab(51.97, 30.28, -31.38)
CIE-LCHlch(51.97, 43.61, 313.98°)
OKLaboklab(59.82% 0.0741 -0.0868)
OKLCHoklch(59.82% 0.114 310.5)
XYZxyz(25.6866, 20.1197, 44.6412)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BB2 #88B26B
analogous
#716BB2 #956BB2 #B26BAB
triadic
#956BB2 #B2956B #6BB295
tetradic
#956BB2 #B2716B #88B26B #6BABB2
square
#956BB2 #B2716B #88B26B #6BABB2
split-complementary
#956BB2 #ABB26B #6BB271
monochromatic
#56386B #764D93 #956BB2 #B293C7 #CFBCDC

Accessibility & contrast

On white

4.18
#956BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#956BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BB2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BB2#FFFFFF#000000##000000
##956BB21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#927586
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #956bb2;
/* rgb */ color: rgb(149, 107, 178);
/* oklch */ color: oklch(59.8% 0.114 310.5);
Tailwind
colors: {
  custom: {
    50: '#b596c9',
    500: '#956bb2',
    950: '#000000',
  },
}
SCSS
$custom: #956bb2;
$custom-light: #b596c9;
$custom-dark: #000000;
JSON
{
  "hex": "#956bb2",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 275.493,
    "s": 31.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.11418,
    "h": 310.5
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#956BB2
secondary
#BACBAE
accent
#C8608A
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #956BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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