#954E8A#954E8A

#954E8A is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.1% C 0.123 H 333.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#954E8A
RGBrgb(149, 78, 138)
HSLhsl(309, 31%, 45%)
HSVhsv(309, 48%, 58%)
CMYKcmyk(0%, 47.7%, 7.4%, 41.6%)
CIE-LABlab(43.76, 38.33, -20.47)
CIE-LCHlch(43.76, 43.46, 331.90°)
OKLaboklab(53.08% 0.1098 -0.0555)
OKLCHoklch(53.08% 0.123 333.2)
XYZxyz(19.7062, 13.6745, 25.6413)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954E8A #4E9559
analogous
#7D4E95 #954E8A #954E67
triadic
#954E8A #8A954E #4E8A95
tetradic
#954E8A #957D4E #4E9559 #4E6795
square
#954E8A #957D4E #4E9559 #4E6795
split-complementary
#954E8A #67954E #4E957D
monochromatic
#452440 #6D3965 #954E8A #B36DA8 #C896C0

Accessibility & contrast

On white

5.62
#954E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#954E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954E8A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954E8A#FFFFFF#000000##FFFFFF
##954E8A1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618C
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#9B5265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #954e8a;
/* rgb */ color: rgb(149, 78, 138);
/* oklch */ color: oklch(53.1% 0.123 333.2);
Tailwind
colors: {
  custom: {
    50: '#b682ac',
    500: '#954e8a',
    950: '#000000',
  },
}
SCSS
$custom: #954e8a;
$custom-light: #b682ac;
$custom-dark: #000000;
JSON
{
  "hex": "#954e8a",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 309.296,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.12303,
    "h": 333.2
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#954E8A
secondary
#8AB491
accent
#C77060
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #954E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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