#95478D#95478D

#95478D is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.2% C 0.138 H 331.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#95478D
RGBrgb(149, 71, 141)
HSLhsl(306, 35%, 43%)
HSVhsv(306, 52%, 58%)
CMYKcmyk(0%, 52.3%, 5.4%, 41.6%)
CIE-LABlab(42.49, 42.55, -24.25)
CIE-LCHlch(42.49, 48.98, 330.32°)
OKLaboklab(52.18% 0.121 -0.0661)
OKLCHoklch(52.18% 0.138 331.3)
XYZxyz(19.4553, 12.8203, 26.6440)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95478D #47954F
analogous
#764795 #95478D #954766
triadic
#95478D #8D9547 #478D95
tetradic
#95478D #957647 #47954F #476695
square
#95478D #957647 #47954F #476695
split-complementary
#95478D #669547 #479576
monochromatic
#421F3F #6C3366 #95478D #B564AD #C98DC3

Accessibility & contrast

On white

5.89
#95478D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#95478D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #95478D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95478D#FFFFFF#000000##FFFFFF
##95478D1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445D8F
Deuteranopia (green-blind)
#5B688B
Tritanopia (blue-blind)
#9A4D63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #95478d;
/* rgb */ color: rgb(149, 71, 141);
/* oklch */ color: oklch(52.2% 0.138 331.3);
Tailwind
colors: {
  custom: {
    50: '#b67eae',
    500: '#95478d',
    950: '#000000',
  },
}
SCSS
$custom: #95478d;
$custom-light: #b67eae;
$custom-dark: #000000;
JSON
{
  "hex": "#95478d",
  "rgb": {
    "r": 149,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 306.154,
    "s": 35.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52178,
    "c": 0.13791,
    "h": 331.3
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#95478D
secondary
#83B488
accent
#CB685C
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #95478D

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

Preview Lab → · Contrast checker → · Palette generator →

#95478D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva