#954CA6#954CA6

#954CA6 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.2% C 0.154 H 319.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#954CA6
RGBrgb(149, 76, 166)
HSLhsl(289, 37%, 47%)
HSVhsv(289, 54%, 65%)
CMYKcmyk(10.2%, 54.2%, 0%, 34.9%)
CIE-LABlab(44.68, 44.80, -35.80)
CIE-LCHlch(44.68, 57.35, 321.38°)
OKLaboklab(54.19% 0.1175 -0.0994)
OKLCHoklch(54.19% 0.154 319.8)
XYZxyz(21.8609, 14.3125, 37.6801)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CA6 #5DA64C
analogous
#684CA6 #954CA6 #A64C8A
triadic
#954CA6 #A6954C #4CA695
tetradic
#954CA6 #A6684C #5DA64C #4C8AA6
square
#954CA6 #A6684C #5DA64C #4C8AA6
split-complementary
#954CA6 #8AA64C #4CA668
monochromatic
#4A2652 #6F397C #954CA6 #B071BE #C79BD1

Accessibility & contrast

On white

5.44
#954CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#954CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CA6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CA6#FFFFFF#000000##FFFFFF
##954CA61.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B65A9
Deuteranopia (green-blind)
#536CA4
Tritanopia (blue-blind)
#965972
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #954ca6;
/* rgb */ color: rgb(149, 76, 166);
/* oklch */ color: oklch(54.2% 0.154 319.8);
Tailwind
colors: {
  custom: {
    50: '#b681c1',
    500: '#954ca6',
    950: '#000000',
  },
}
SCSS
$custom: #954ca6;
$custom-light: #b681c1;
$custom-dark: #000000;
JSON
{
  "hex": "#954ca6",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 288.667,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.15388,
    "h": 319.8
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#954CA6
secondary
#99BE90
accent
#CD5B70
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #954CA6

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

Preview Lab → · Contrast checker → · Palette generator →

#954CA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva