#956CBF#956CBF

#956CBF is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.7% C 0.129 H 305.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#956CBF
RGBrgb(149, 108, 191)
HSLhsl(270, 39%, 59%)
HSVhsv(270, 43%, 75%)
CMYKcmyk(22%, 43.5%, 0%, 25.1%)
CIE-LABlab(52.81, 32.72, -37.56)
CIE-LCHlch(52.81, 49.81, 311.05°)
OKLaboklab(60.65% 0.0751 -0.1047)
OKLCHoklch(60.65% 0.129 305.7)
XYZxyz(27.1590, 20.8764, 51.8789)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CBF #96BF6C
analogous
#6C6CBF #956CBF #BE6CBF
triadic
#956CBF #BF956C #6CBF95
tetradic
#956CBF #BF6C6C #96BF6C #6CBFBE
square
#956CBF #BF6C6C #96BF6C #6CBFBE
split-complementary
#956CBF #BFBE6C #6CBF6C
monochromatic
#58367B #7648A6 #956CBF #B497D2 #D2C1E4

Accessibility & contrast

On white

4.06
#956CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#956CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CBF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CBF#FFFFFF#000000##000000
##956CBF1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC2
Deuteranopia (green-blind)
#617EBD
Tritanopia (blue-blind)
#8F7A8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956cbf;
/* rgb */ color: rgb(149, 108, 191);
/* oklch */ color: oklch(60.7% 0.129 305.7);
Tailwind
colors: {
  custom: {
    50: '#b697d2',
    500: '#956cbf',
    950: '#000000',
  },
}
SCSS
$custom: #956cbf;
$custom-light: #b697d2;
$custom-dark: #000000;
JSON
{
  "hex": "#956cbf",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 269.639,
    "s": 39.336,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6065,
    "c": 0.12886,
    "h": 305.7
  },
  "luminance": 0.20876
}

Semantic roles & 50–950 ramp

primary
#956CBF
secondary
#C4D4B3
accent
#CF5995
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #956CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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