#956BB1#956BB1

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

Color values

HEX#956BB1
RGBrgb(149, 107, 177)
HSLhsl(276, 31%, 56%)
HSVhsv(276, 40%, 69%)
CMYKcmyk(15.8%, 39.5%, 0%, 30.6%)
CIE-LABlab(51.93, 30.06, -30.88)
CIE-LCHlch(51.93, 43.09, 314.23°)
OKLaboklab(59.77% 0.0739 -0.0854)
OKLCHoklch(59.77% 0.113 310.9)
XYZxyz(25.5865, 20.0797, 44.1143)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BB1 #87B16B
analogous
#726BB1 #956BB1 #B16BAA
triadic
#956BB1 #B1956B #6BB195
tetradic
#956BB1 #B1726B #87B16B #6BAAB1
square
#956BB1 #B1726B #87B16B #6BAAB1
split-complementary
#956BB1 #AAB16B #6BB172
monochromatic
#56386A #764D92 #956BB1 #B293C6 #CEBBDB

Accessibility & contrast

On white

4.19
#956BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##956BB1#FFFFFF#000000##000000
##956BB11.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #956bb1;
/* rgb */ color: rgb(149, 107, 177);
/* oklch */ color: oklch(59.8% 0.113 310.9);
Tailwind
colors: {
  custom: {
    50: '#b596c8',
    500: '#956bb1',
    950: '#000000',
  },
}
SCSS
$custom: #956bb1;
$custom-light: #b596c8;
$custom-dark: #000000;
JSON
{
  "hex": "#956bb1",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 276,
    "s": 30.973,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.11293,
    "h": 310.9
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#956BB1
secondary
#B9CAAD
accent
#C7618A
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #956BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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