#95218F#95218F

#95218F is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.192 H 330.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#95218F
RGBrgb(149, 33, 143)
HSLhsl(303, 64%, 36%)
HSVhsv(303, 78%, 58%)
CMYKcmyk(0%, 77.9%, 4%, 41.6%)
CIE-LABlab(36.86, 58.74, -34.30)
CIE-LCHlch(36.86, 68.02, 329.71°)
OKLaboklab(48.11% 0.1668 -0.0947)
OKLCHoklch(48.11% 0.192 330.4)
XYZxyz(17.8962, 9.4619, 26.8650)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95218F #219527
analogous
#612195 #95218F #952155
triadic
#95218F #8F9521 #218F95
tetradic
#95218F #956121 #219527 #215595
square
#95218F #956121 #219527 #215595
split-complementary
#95218F #559521 #219561
monochromatic
#310B2F #63165F #95218F #C72CBF #DA57D3

Accessibility & contrast

On white

7.26
#95218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #95218F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95218F#FFFFFF#000000##FFFFFF
##95218F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#9B3157
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95218f;
/* rgb */ color: rgb(149, 33, 143);
/* oklch */ color: oklch(48.1% 0.192 330.4);
Tailwind
colors: {
  custom: {
    50: '#b86ab0',
    500: '#95218f',
    950: '#000000',
  },
}
SCSS
$custom: #95218f;
$custom-light: #b86ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#95218f",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 303.103,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48113,
    "c": 0.1918,
    "h": 330.4
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#95218F
secondary
#54BE5A
accent
#E74A41
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #95218F

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

Preview Lab → · Contrast checker → · Palette generator →

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