#954EA2#954EA2

#954EA2 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.3% C 0.146 H 321.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#954EA2
RGBrgb(149, 78, 162)
HSLhsl(291, 35%, 47%)
HSVhsv(291, 52%, 64%)
CMYKcmyk(8%, 51.9%, 0%, 36.5%)
CIE-LABlab(44.87, 42.95, -33.13)
CIE-LCHlch(44.87, 54.24, 322.36°)
OKLaboklab(54.26% 0.1142 -0.0917)
OKLCHoklch(54.26% 0.146 321.2)
XYZxyz(21.6397, 14.4479, 35.8243)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EA2 #5BA24E
analogous
#6B4EA2 #954EA2 #A24E85
triadic
#954EA2 #A2954E #4EA295
tetradic
#954EA2 #A26B4E #5BA24E #4E85A2
square
#954EA2 #A26B4E #5BA24E #4E85A2
split-complementary
#954EA2 #85A24E #4EA26B
monochromatic
#49264F #6F3A79 #954EA2 #B072BB #C79BCF

Accessibility & contrast

On white

5.40
#954EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#954EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EA2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EA2#FFFFFF#000000##FFFFFF
##954EA21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#965971
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #954ea2;
/* rgb */ color: rgb(149, 78, 162);
/* oklch */ color: oklch(54.3% 0.146 321.2);
Tailwind
colors: {
  custom: {
    50: '#b682be',
    500: '#954ea2',
    950: '#000000',
  },
}
SCSS
$custom: #954ea2;
$custom-light: #b682be;
$custom-dark: #000000;
JSON
{
  "hex": "#954ea2",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 290.714,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.14643,
    "h": 321.2
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#954EA2
secondary
#97BC90
accent
#CB5D6E
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #954EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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