#954EA6#954EA6

#954EA6 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.5% C 0.151 H 319.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#954EA6
RGBrgb(149, 78, 166)
HSLhsl(288, 36%, 48%)
HSVhsv(288, 53%, 65%)
CMYKcmyk(10.2%, 53%, 0%, 34.9%)
CIE-LABlab(45.07, 43.76, -35.18)
CIE-LCHlch(45.07, 56.15, 321.21°)
OKLaboklab(54.48% 0.1147 -0.0976)
OKLCHoklch(54.48% 0.151 319.6)
XYZxyz(22.0009, 14.5924, 37.7267)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EA6 #5FA64E
analogous
#694EA6 #954EA6 #A64E8B
triadic
#954EA6 #A6954E #4EA695
tetradic
#954EA6 #A6694E #5FA64E #4E8BA6
square
#954EA6 #A6694E #5FA64E #4E8BA6
split-complementary
#954EA6 #8BA64E #4EA669
monochromatic
#4A2753 #703A7C #954EA6 #AF74BE #C79DD1

Accessibility & contrast

On white

5.36
#954EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#954EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EA6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EA6#FFFFFF#000000##FFFFFF
##954EA61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66A9
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#965B73
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #954ea6;
/* rgb */ color: rgb(149, 78, 166);
/* oklch */ color: oklch(54.5% 0.151 319.6);
Tailwind
colors: {
  custom: {
    50: '#b682c1',
    500: '#954ea6',
    950: '#000000',
  },
}
SCSS
$custom: #954ea6;
$custom-light: #b682c1;
$custom-dark: #000000;
JSON
{
  "hex": "#954ea6",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 288.409,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.15058,
    "h": 319.6
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#954EA6
secondary
#9ABE92
accent
#CC5C71
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #954EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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