#956BBB#956BBB

#956BBB is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.3% C 0.125 H 307.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#956BBB
RGBrgb(149, 107, 187)
HSLhsl(272, 37%, 58%)
HSVhsv(272, 43%, 73%)
CMYKcmyk(20.3%, 42.8%, 0%, 26.7%)
CIE-LABlab(52.39, 32.35, -35.93)
CIE-LCHlch(52.39, 48.35, 312.00°)
OKLaboklab(60.27% 0.0759 -0.0999)
OKLCHoklch(60.27% 0.125 307.2)
XYZxyz(26.6200, 20.4931, 49.5573)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BBB #91BB6B
analogous
#6D6BBB #956BBB #BB6BB9
triadic
#956BBB #BB956B #6BBB95
tetradic
#956BBB #BB6D6B #91BB6B #6BB9BB
square
#956BBB #BB6D6B #91BB6B #6BB9BB
split-complementary
#956BBB #B9BB6B #6BBB6D
monochromatic
#573676 #7749A0 #956BBB #B395CE #D1BFE2

Accessibility & contrast

On white

4.12
#956BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#956BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BBB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BBB#FFFFFF#000000##000000
##956BBB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#637DB9
Tritanopia (blue-blind)
#90788A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #956bbb;
/* rgb */ color: rgb(149, 107, 187);
/* oklch */ color: oklch(60.3% 0.125 307.2);
Tailwind
colors: {
  custom: {
    50: '#b596d0',
    500: '#956bbb',
    950: '#000000',
  },
}
SCSS
$custom: #956bbb;
$custom-light: #b596d0;
$custom-dark: #000000;
JSON
{
  "hex": "#956bbb",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 271.5,
    "s": 37.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.12549,
    "h": 307.2
  },
  "luminance": 0.20493
}

Semantic roles & 50–950 ramp

primary
#956BBB
secondary
#C0D1B1
accent
#CD5B91
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #956BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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