#95218D#95218D

#95218D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 331.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#95218D
RGBrgb(149, 33, 141)
HSLhsl(304, 64%, 36%)
HSVhsv(304, 78%, 58%)
CMYKcmyk(0%, 77.9%, 5.4%, 41.6%)
CIE-LABlab(36.75, 58.42, -33.26)
CIE-LCHlch(36.75, 67.22, 330.35°)
OKLaboklab(48% 0.1668 -0.0917)
OKLCHoklch(48% 0.19 331.2)
XYZxyz(17.7460, 9.4018, 26.0742)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95218D #219529
analogous
#632195 #95218D #952153
triadic
#95218D #8D9521 #218D95
tetradic
#95218D #956321 #219529 #215395
square
#95218D #956321 #219529 #215395
split-complementary
#95218D #539521 #219563
monochromatic
#310B2E #63165E #95218D #C72CBC #DA57D1

Accessibility & contrast

On white

7.29
#95218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#95218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95218D
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95218D#FFFFFF#000000##FFFFFF
##95218D1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#475C8A
Tritanopia (blue-blind)
#9B3056
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #95218d;
/* rgb */ color: rgb(149, 33, 141);
/* oklch */ color: oklch(48.0% 0.190 331.2);
Tailwind
colors: {
  custom: {
    50: '#b86aaf',
    500: '#95218d',
    950: '#000000',
  },
}
SCSS
$custom: #95218d;
$custom-light: #b86aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#95218d",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 304.138,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47996,
    "c": 0.1903,
    "h": 331.2
  },
  "luminance": 0.094
}

Semantic roles & 50–950 ramp

primary
#95218D
secondary
#54BE5B
accent
#E74C41
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95218D

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

Preview Lab → · Contrast checker → · Palette generator →

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