#954EA4#954EA4

#954EA4 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.4% C 0.148 H 320.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#954EA4
RGBrgb(149, 78, 164)
HSLhsl(290, 36%, 47%)
HSVhsv(290, 52%, 64%)
CMYKcmyk(9.1%, 52.4%, 0%, 35.7%)
CIE-LABlab(44.97, 43.35, -34.15)
CIE-LCHlch(44.97, 55.19, 321.77°)
OKLaboklab(54.37% 0.1144 -0.0946)
OKLCHoklch(54.37% 0.149 320.4)
XYZxyz(21.8188, 14.5196, 36.7680)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EA4 #5DA44E
analogous
#6A4EA4 #954EA4 #A44E88
triadic
#954EA4 #A4954E #4EA495
tetradic
#954EA4 #A46A4E #5DA44E #4E88A4
square
#954EA4 #A46A4E #5DA44E #4E88A4
split-complementary
#954EA4 #88A44E #4EA46A
monochromatic
#4A2751 #6F3A7B #954EA4 #B073BC #C79CD0

Accessibility & contrast

On white

5.38
#954EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#954EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EA4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EA4#FFFFFF#000000##FFFFFF
##954EA41.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A7
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#965A72
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #954ea4;
/* rgb */ color: rgb(149, 78, 164);
/* oklch */ color: oklch(54.4% 0.148 320.4);
Tailwind
colors: {
  custom: {
    50: '#b682bf',
    500: '#954ea4',
    950: '#000000',
  },
}
SCSS
$custom: #954ea4;
$custom-light: #b682bf;
$custom-dark: #000000;
JSON
{
  "hex": "#954ea4",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 289.535,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54369,
    "c": 0.1485,
    "h": 320.4
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#954EA4
secondary
#99BD91
accent
#CC5C70
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #954EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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