#956ABC#956ABC

#956ABC is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.1% C 0.128 H 307.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#956ABC
RGBrgb(149, 106, 188)
HSLhsl(271, 38%, 58%)
HSVhsv(271, 44%, 74%)
CMYKcmyk(20.7%, 43.6%, 0%, 26.3%)
CIE-LABlab(52.21, 33.16, -36.79)
CIE-LCHlch(52.21, 49.53, 312.02°)
OKLaboklab(60.15% 0.0775 -0.1024)
OKLCHoklch(60.15% 0.128 307.1)
XYZxyz(26.6238, 20.3287, 50.0885)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956ABC #91BC6A
analogous
#6C6ABC #956ABC #BC6ABA
triadic
#956ABC #BC956A #6ABC95
tetradic
#956ABC #BC6C6A #91BC6A #6ABABC
square
#956ABC #BC6C6A #91BC6A #6ABABC
split-complementary
#956ABC #BABC6A #6ABC6C
monochromatic
#573576 #7748A1 #956ABC #B394CF #D1BEE2

Accessibility & contrast

On white

4.15
#956ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#956ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956ABC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956ABC#FFFFFF#000000##000000
##956ABC1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BBF
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#8F778A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #956abc;
/* rgb */ color: rgb(149, 106, 188);
/* oklch */ color: oklch(60.1% 0.128 307.1);
Tailwind
colors: {
  custom: {
    50: '#b695d0',
    500: '#956abc',
    950: '#000000',
  },
}
SCSS
$custom: #956abc;
$custom-light: #b695d0;
$custom-dark: #000000;
JSON
{
  "hex": "#956abc",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 271.463,
    "s": 37.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60146,
    "c": 0.12846,
    "h": 307.1
  },
  "luminance": 0.20328
}

Semantic roles & 50–950 ramp

primary
#956ABC
secondary
#C0D1B0
accent
#CE5A91
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #956ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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