#956CBB#956CBB

#956CBB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.4% C 0.124 H 307.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#956CBB
RGBrgb(149, 108, 187)
HSLhsl(271, 37%, 58%)
HSVhsv(271, 42%, 73%)
CMYKcmyk(20.3%, 42.2%, 0%, 26.7%)
CIE-LABlab(52.62, 31.78, -35.56)
CIE-LCHlch(52.62, 47.69, 311.78°)
OKLaboklab(60.44% 0.0744 -0.0989)
OKLCHoklch(60.44% 0.124 307)
XYZxyz(26.7249, 20.7028, 49.5922)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CBB #92BB6C
analogous
#6D6CBB #956CBB #BB6CB9
triadic
#956CBB #BB956C #6CBB95
tetradic
#956CBB #BB6D6C #92BB6C #6CB9BB
square
#956CBB #BB6D6C #92BB6C #6CB9BB
split-complementary
#956CBB #B9BB6C #6CBB6D
monochromatic
#583776 #774AA0 #956CBB #B396CE #D1C0E2

Accessibility & contrast

On white

4.09
#956CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#956CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CBB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CBB#FFFFFF#000000##000000
##956CBB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#90788A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956cbb;
/* rgb */ color: rgb(149, 108, 187);
/* oklch */ color: oklch(60.4% 0.124 307.0);
Tailwind
colors: {
  custom: {
    50: '#b597d0',
    500: '#956cbb',
    950: '#000000',
  },
}
SCSS
$custom: #956cbb;
$custom-light: #b597d0;
$custom-dark: #000000;
JSON
{
  "hex": "#956cbb",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 271.139,
    "s": 36.744,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60443,
    "c": 0.12377,
    "h": 307
  },
  "luminance": 0.20703
}

Semantic roles & 50–950 ramp

primary
#956CBB
secondary
#C1D1B2
accent
#CD5B92
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #956CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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