#956AC8#956AC8

#956AC8 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.8% C 0.144 H 303.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#956AC8
RGBrgb(149, 106, 200)
HSLhsl(267, 46%, 60%)
HSVhsv(267, 47%, 78%)
CMYKcmyk(25.5%, 47%, 0%, 21.6%)
CIE-LABlab(52.80, 36.01, -42.74)
CIE-LCHlch(52.80, 55.88, 310.12°)
OKLaboklab(60.79% 0.0793 -0.1197)
OKLCHoklch(60.79% 0.144 303.5)
XYZxyz(27.9715, 20.8678, 57.1867)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AC8 #9DC86A
analogous
#6A6EC8 #956AC8 #C46AC8
triadic
#956AC8 #C8956A #6AC895
tetradic
#956AC8 #C86A6E #9DC86A #6AC8C4
square
#956AC8 #C86A6E #9DC86A #6AC8C4
split-complementary
#956AC8 #C8C46A #6EC86A
monochromatic
#583286 #7642B3 #956AC8 #B597D8 #D5C3E9

Accessibility & contrast

On white

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

On black

5.17
#956AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AC8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AC8#FFFFFF#000000##000000
##956AC81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7DCB
Deuteranopia (green-blind)
#5A7EC6
Tritanopia (blue-blind)
#8C7A8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956ac8;
/* rgb */ color: rgb(149, 106, 200);
/* oklch */ color: oklch(60.8% 0.144 303.5);
Tailwind
colors: {
  custom: {
    50: '#b695d9',
    500: '#956ac8',
    950: '#000000',
  },
}
SCSS
$custom: #956ac8;
$custom-light: #b695d9;
$custom-dark: #000000;
JSON
{
  "hex": "#956ac8",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 200
  },
  "hsl": {
    "h": 267.447,
    "s": 46.078,
    "l": 60
  },
  "oklch": {
    "l": 0.60789,
    "c": 0.14359,
    "h": 303.5
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#956AC8
secondary
#C8D9B5
accent
#D6529A
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #956AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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