#954EA3#954EA3

#954EA3 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.3% C 0.147 H 320.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#954EA3
RGBrgb(149, 78, 163)
HSLhsl(290, 35%, 47%)
HSVhsv(290, 52%, 64%)
CMYKcmyk(8.6%, 52.1%, 0%, 36.1%)
CIE-LABlab(44.92, 43.15, -33.64)
CIE-LCHlch(44.92, 54.71, 322.06°)
OKLaboklab(54.32% 0.1143 -0.0931)
OKLCHoklch(54.32% 0.147 320.8)
XYZxyz(21.7289, 14.4836, 36.2943)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EA3 #5CA34E
analogous
#6B4EA3 #954EA3 #A34E86
triadic
#954EA3 #A3954E #4EA395
tetradic
#954EA3 #A36B4E #5CA34E #4E86A3
square
#954EA3 #A36B4E #5CA34E #4E86A3
split-complementary
#954EA3 #86A34E #4EA36B
monochromatic
#492650 #6F3A7A #954EA3 #B072BC #C79CD0

Accessibility & contrast

On white

5.39
#954EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #954EA3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EA3#FFFFFF#000000##FFFFFF
##954EA31.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A6
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#965A71
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #954ea3;
/* rgb */ color: rgb(149, 78, 163);
/* oklch */ color: oklch(54.3% 0.147 320.8);
Tailwind
colors: {
  custom: {
    50: '#b682be',
    500: '#954ea3',
    950: '#000000',
  },
}
SCSS
$custom: #954ea3;
$custom-light: #b682be;
$custom-dark: #000000;
JSON
{
  "hex": "#954ea3",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 290.118,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.14747,
    "h": 320.8
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#954EA3
secondary
#98BC91
accent
#CB5C6F
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #954EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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