#956FBB#956FBB

#956FBB is a mid, moderate violet. Relative luminance 0.213; OKLCH L 61.0% C 0.119 H 306.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#956FBB
RGBrgb(149, 111, 187)
HSLhsl(270, 36%, 58%)
HSVhsv(270, 41%, 73%)
CMYKcmyk(20.3%, 40.6%, 0%, 26.7%)
CIE-LABlab(53.33, 30.05, -34.46)
CIE-LCHlch(53.33, 45.72, 311.09°)
OKLaboklab(60.97% 0.0701 -0.0957)
OKLCHoklch(60.97% 0.119 306.2)
XYZxyz(27.0467, 21.3465, 49.6995)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FBB #95BB6F
analogous
#6F6FBB #956FBB #BB6FBB
triadic
#956FBB #BB956F #6FBB95
tetradic
#956FBB #BB6F6F #95BB6F #6FBBBB
square
#956FBB #BB6F6F #95BB6F #6FBBBB
split-complementary
#956FBB #BBBB6F #6FBB6F
monochromatic
#583877 #764CA1 #956FBB #B499CF #D2C2E2

Accessibility & contrast

On white

3.99
#956FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#956FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FBB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FBB#FFFFFF#000000##000000
##956FBB1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#6680B9
Tritanopia (blue-blind)
#8F7B8C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #956fbb;
/* rgb */ color: rgb(149, 111, 187);
/* oklch */ color: oklch(61.0% 0.119 306.2);
Tailwind
colors: {
  custom: {
    50: '#b599d0',
    500: '#956fbb',
    950: '#000000',
  },
}
SCSS
$custom: #956fbb;
$custom-light: #b599d0;
$custom-dark: #000000;
JSON
{
  "hex": "#956fbb",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 270,
    "s": 35.849,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60974,
    "c": 0.11862,
    "h": 306.2
  },
  "luminance": 0.21346
}

Semantic roles & 50–950 ramp

primary
#956FBB
secondary
#C3D2B4
accent
#CC5C94
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #956FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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