#95218B#95218B

#95218B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.189 H 332.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#95218B
RGBrgb(149, 33, 139)
HSLhsl(305, 64%, 36%)
HSVhsv(305, 78%, 58%)
CMYKcmyk(0%, 77.9%, 6.7%, 41.6%)
CIE-LABlab(36.64, 58.10, -32.20)
CIE-LCHlch(36.64, 66.43, 331.00°)
OKLaboklab(47.88% 0.1667 -0.0886)
OKLCHoklch(47.88% 0.189 332)
XYZxyz(17.5985, 9.3428, 25.2976)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95218B #21952B
analogous
#652195 #95218B #952151
triadic
#95218B #8B9521 #218B95
tetradic
#95218B #956521 #21952B #215195
square
#95218B #956521 #21952B #215195
split-complementary
#95218B #519521 #219565
monochromatic
#310B2E #63165C #95218B #C72CBA #DA57CE

Accessibility & contrast

On white

7.32
#95218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#95218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95218B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95218B#FFFFFF#000000##FFFFFF
##95218B1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#9B2F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #95218b;
/* rgb */ color: rgb(149, 33, 139);
/* oklch */ color: oklch(47.9% 0.189 332.0);
Tailwind
colors: {
  custom: {
    50: '#b86aad',
    500: '#95218b',
    950: '#000000',
  },
}
SCSS
$custom: #95218b;
$custom-light: #b86aad;
$custom-dark: #000000;
JSON
{
  "hex": "#95218b",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 305.172,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47881,
    "c": 0.1888,
    "h": 332
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#95218B
secondary
#54BE5D
accent
#E74F41
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95218B

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

Preview Lab → · Contrast checker → · Palette generator →

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