#956BC1#956BC1

#956BC1 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.6% C 0.133 H 305.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#956BC1
RGBrgb(149, 107, 193)
HSLhsl(269, 41%, 59%)
HSVhsv(269, 45%, 76%)
CMYKcmyk(22.8%, 44.6%, 0%, 24.3%)
CIE-LABlab(52.68, 33.76, -38.92)
CIE-LCHlch(52.68, 51.52, 310.94°)
OKLaboklab(60.58% 0.0769 -0.1086)
OKLCHoklch(60.58% 0.133 305.3)
XYZxyz(27.2758, 20.7554, 53.0110)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BC1 #97C16B
analogous
#6B6CC1 #956BC1 #C06BC1
triadic
#956BC1 #C1956B #6BC195
tetradic
#956BC1 #C16B6C #97C16B #6BC1C0
square
#956BC1 #C16B6C #97C16B #6BC1C0
split-complementary
#956BC1 #C1C06B #6CC16B
monochromatic
#58347D #7647A8 #956BC1 #B496D3 #D3C1E5

Accessibility & contrast

On white

4.08
#956BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#956BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BC1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BC1#FFFFFF#000000##000000
##956BC11.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#557CC4
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#8E798D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956bc1;
/* rgb */ color: rgb(149, 107, 193);
/* oklch */ color: oklch(60.6% 0.133 305.3);
Tailwind
colors: {
  custom: {
    50: '#b696d4',
    500: '#956bc1',
    950: '#000000',
  },
}
SCSS
$custom: #956bc1;
$custom-light: #b696d4;
$custom-dark: #000000;
JSON
{
  "hex": "#956bc1",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 193
  },
  "hsl": {
    "h": 269.302,
    "s": 40.952,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.13308,
    "h": 305.3
  },
  "luminance": 0.20755
}

Semantic roles & 50–950 ramp

primary
#956BC1
secondary
#C4D5B3
accent
#D15795
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #956BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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