#95218C#95218C

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

Color values

HEX#95218C
RGBrgb(149, 33, 140)
HSLhsl(305, 64%, 36%)
HSVhsv(305, 78%, 58%)
CMYKcmyk(0%, 77.9%, 6%, 41.6%)
CIE-LABlab(36.69, 58.26, -32.73)
CIE-LCHlch(36.69, 66.82, 330.67°)
OKLaboklab(47.94% 0.1667 -0.0902)
OKLCHoklch(47.94% 0.19 331.6)
XYZxyz(17.6719, 9.3722, 25.6841)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95218C #21952A
analogous
#642195 #95218C #952152
triadic
#95218C #8C9521 #218C95
tetradic
#95218C #956421 #21952A #215295
square
#95218C #956421 #21952A #215295
split-complementary
#95218C #529521 #219564
monochromatic
#310B2E #63165D #95218C #C72CBB #DA57D0

Accessibility & contrast

On white

7.31
#95218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #95218C
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95218C#FFFFFF#000000##FFFFFF
##95218C1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C8F
Deuteranopia (green-blind)
#475C89
Tritanopia (blue-blind)
#9B3055
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #95218c;
/* rgb */ color: rgb(149, 33, 140);
/* oklch */ color: oklch(47.9% 0.190 331.6);
Tailwind
colors: {
  custom: {
    50: '#b86aae',
    500: '#95218c',
    950: '#000000',
  },
}
SCSS
$custom: #95218c;
$custom-light: #b86aae;
$custom-dark: #000000;
JSON
{
  "hex": "#95218c",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 304.655,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47939,
    "c": 0.18955,
    "h": 331.6
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#95218C
secondary
#54BE5C
accent
#E74E41
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95218C

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

Preview Lab → · Contrast checker → · Palette generator →

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