#954EA1#954EA1

#954EA1 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.2% C 0.145 H 321.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#954EA1
RGBrgb(149, 78, 161)
HSLhsl(291, 35%, 47%)
HSVhsv(291, 52%, 63%)
CMYKcmyk(7.5%, 51.6%, 0%, 36.9%)
CIE-LABlab(44.82, 42.74, -32.61)
CIE-LCHlch(44.82, 53.76, 322.66°)
OKLaboklab(54.21% 0.1141 -0.0902)
OKLCHoklch(54.21% 0.145 321.7)
XYZxyz(21.5511, 14.4125, 35.3580)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EA1 #5AA14E
analogous
#6C4EA1 #954EA1 #A14E84
triadic
#954EA1 #A1954E #4EA195
tetradic
#954EA1 #A16C4E #5AA14E #4E84A1
square
#954EA1 #A16C4E #5AA14E #4E84A1
split-complementary
#954EA1 #84A14E #4EA16C
monochromatic
#49264F #6F3A78 #954EA1 #B072BB #C79BCF

Accessibility & contrast

On white

5.41
#954EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#954EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EA1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EA1#FFFFFF#000000##FFFFFF
##954EA11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A4
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#975970
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #954ea1;
/* rgb */ color: rgb(149, 78, 161);
/* oklch */ color: oklch(54.2% 0.145 321.7);
Tailwind
colors: {
  custom: {
    50: '#b682bd',
    500: '#954ea1',
    950: '#000000',
  },
}
SCSS
$custom: #954ea1;
$custom-light: #b682bd;
$custom-dark: #000000;
JSON
{
  "hex": "#954ea1",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 291.325,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.1454,
    "h": 321.7
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#954EA1
secondary
#96BB90
accent
#CB5D6D
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #954EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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