#95218A#95218A

#95218A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.188 H 332.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#95218A
RGBrgb(149, 33, 138)
HSLhsl(306, 64%, 36%)
HSVhsv(306, 78%, 58%)
CMYKcmyk(0%, 77.9%, 7.4%, 41.6%)
CIE-LABlab(36.58, 57.94, -31.67)
CIE-LCHlch(36.58, 66.03, 331.34°)
OKLaboklab(47.83% 0.1667 -0.0871)
OKLCHoklch(47.83% 0.188 332.4)
XYZxyz(17.5258, 9.3137, 24.9145)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95218A #21952C
analogous
#662195 #95218A #952150
triadic
#95218A #8A9521 #218A95
tetradic
#95218A #956621 #21952C #215095
square
#95218A #956621 #21952C #215095
split-complementary
#95218A #509521 #219566
monochromatic
#310B2D #63165C #95218A #C72CB8 #DA57CD

Accessibility & contrast

On white

7.34
#95218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#95218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95218A
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95218A#FFFFFF#000000##FFFFFF
##95218A1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8D
Deuteranopia (green-blind)
#485C87
Tritanopia (blue-blind)
#9C2F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #95218a;
/* rgb */ color: rgb(149, 33, 138);
/* oklch */ color: oklch(47.8% 0.188 332.4);
Tailwind
colors: {
  custom: {
    50: '#b86aac',
    500: '#95218a',
    950: '#000000',
  },
}
SCSS
$custom: #95218a;
$custom-light: #b86aac;
$custom-dark: #000000;
JSON
{
  "hex": "#95218a",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 305.69,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47825,
    "c": 0.18806,
    "h": 332.4
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#95218A
secondary
#54BE5E
accent
#E75141
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95218A

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

Preview Lab → · Contrast checker → · Palette generator →

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