#956DB2#956DB2

#956DB2 is a mid, moderate violet. Relative luminance 0.205; OKLCH L 60.2% C 0.111 H 310.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#956DB2
RGBrgb(149, 109, 178)
HSLhsl(275, 31%, 56%)
HSVhsv(275, 39%, 70%)
CMYKcmyk(16.3%, 38.8%, 0%, 30.2%)
CIE-LABlab(52.44, 29.13, -30.65)
CIE-LCHlch(52.44, 42.28, 313.54°)
OKLaboklab(60.17% 0.0711 -0.0847)
OKLCHoklch(60.17% 0.111 310)
XYZxyz(25.8975, 20.5415, 44.7115)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DB2 #8AB26D
analogous
#736DB2 #956DB2 #B26DAD
triadic
#956DB2 #B2956D #6DB295
tetradic
#956DB2 #B2736D #8AB26D #6DADB2
square
#956DB2 #B2736D #8AB26D #6DADB2
split-complementary
#956DB2 #ADB26D #6DB273
monochromatic
#56396C #764E94 #956DB2 #B295C7 #CFBDDC

Accessibility & contrast

On white

4.11
#956DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#956DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DB2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DB2#FFFFFF#000000##000000
##956DB21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB5
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#927787
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #956db2;
/* rgb */ color: rgb(149, 109, 178);
/* oklch */ color: oklch(60.2% 0.111 310.0);
Tailwind
colors: {
  custom: {
    50: '#b597c9',
    500: '#956db2',
    950: '#000000',
  },
}
SCSS
$custom: #956db2;
$custom-light: #b597c9;
$custom-dark: #000000;
JSON
{
  "hex": "#956db2",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 274.783,
    "s": 30.942,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60173,
    "c": 0.11063,
    "h": 310
  },
  "luminance": 0.20541
}

Semantic roles & 50–950 ramp

primary
#956DB2
secondary
#BBCCAF
accent
#C7618C
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #956DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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