#956BC0#956BC0

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

Color values

HEX#956BC0
RGBrgb(149, 107, 192)
HSLhsl(270, 40%, 59%)
HSVhsv(270, 44%, 75%)
CMYKcmyk(22.4%, 44.3%, 0%, 24.7%)
CIE-LABlab(52.63, 33.52, -38.43)
CIE-LCHlch(52.63, 50.99, 311.10°)
OKLaboklab(60.53% 0.0767 -0.1072)
OKLCHoklch(60.53% 0.132 305.6)
XYZxyz(27.1646, 20.7109, 52.4255)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BC0 #96C06B
analogous
#6B6BC0 #956BC0 #BF6BC0
triadic
#956BC0 #C0956B #6BC095
tetradic
#956BC0 #C06B6B #96C06B #6BC0BF
square
#956BC0 #C06B6B #96C06B #6BC0BF
split-complementary
#956BC0 #C0BF6B #6BC06B
monochromatic
#58357C #7647A7 #956BC0 #B496D2 #D2C1E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##956BC0#FFFFFF#000000##000000
##956BC01.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#567CC3
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#8E798C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956bc0;
/* rgb */ color: rgb(149, 107, 192);
/* oklch */ color: oklch(60.5% 0.132 305.6);
Tailwind
colors: {
  custom: {
    50: '#b696d3',
    500: '#956bc0',
    950: '#000000',
  },
}
SCSS
$custom: #956bc0;
$custom-light: #b696d3;
$custom-dark: #000000;
JSON
{
  "hex": "#956bc0",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 192
  },
  "hsl": {
    "h": 269.647,
    "s": 40.284,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60528,
    "c": 0.13181,
    "h": 305.6
  },
  "luminance": 0.20711
}

Semantic roles & 50–950 ramp

primary
#956BC0
secondary
#C4D4B3
accent
#D05895
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #956BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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