#95218E#95218E

#95218E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.191 H 330.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#95218E
RGBrgb(149, 33, 142)
HSLhsl(304, 64%, 36%)
HSVhsv(304, 78%, 58%)
CMYKcmyk(0%, 77.9%, 4.7%, 41.6%)
CIE-LABlab(36.80, 58.58, -33.78)
CIE-LCHlch(36.80, 67.62, 330.03°)
OKLaboklab(48.05% 0.1668 -0.0932)
OKLCHoklch(48.05% 0.191 330.8)
XYZxyz(17.8207, 9.4317, 26.4679)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95218E #219528
analogous
#622195 #95218E #952154
triadic
#95218E #8E9521 #218E95
tetradic
#95218E #956221 #219528 #215495
square
#95218E #956221 #219528 #215495
split-complementary
#95218E #549521 #219562
monochromatic
#310B2E #63165E #95218E #C72CBE #DA57D2

Accessibility & contrast

On white

7.28
#95218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#95218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95218E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95218E#FFFFFF#000000##FFFFFF
##95218E1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134C91
Deuteranopia (green-blind)
#465C8B
Tritanopia (blue-blind)
#9B3156
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95218e;
/* rgb */ color: rgb(149, 33, 142);
/* oklch */ color: oklch(48.1% 0.191 330.8);
Tailwind
colors: {
  custom: {
    50: '#b86aaf',
    500: '#95218e',
    950: '#000000',
  },
}
SCSS
$custom: #95218e;
$custom-light: #b86aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#95218e",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 303.621,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48054,
    "c": 0.19104,
    "h": 330.8
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #95218E

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

Preview Lab → · Contrast checker → · Palette generator →

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