#9F2195#9F2195

#9F2195 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.201 H 331.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9F2195
RGBrgb(159, 33, 149)
HSLhsl(305, 66%, 38%)
HSVhsv(305, 79%, 62%)
CMYKcmyk(0%, 79.2%, 6.3%, 37.6%)
CIE-LABlab(38.95, 61.86, -34.54)
CIE-LCHlch(38.95, 70.85, 330.82°)
OKLaboklab(50.05% 0.1773 -0.0952)
OKLCHoklch(50.05% 0.201 331.8)
XYZxyz(20.2668, 10.6303, 29.4124)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2195 #219F2B
analogous
#6A219F #9F2195 #9F2156
triadic
#9F2195 #959F21 #21959F
tetradic
#9F2195 #9F6A21 #219F2B #21569F
square
#9F2195 #9F6A21 #219F2B #21569F
split-complementary
#9F2195 #569F21 #219F6A
monochromatic
#3A0C36 #6C1666 #9F2195 #D22CC4 #DD5DD3

Accessibility & contrast

On white

6.72
#9F2195 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9F2195 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2195
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2195#FFFFFF#000000##FFFFFF
##9F21951.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145198
Deuteranopia (green-blind)
#4C6292
Tritanopia (blue-blind)
#A6325B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2195;
/* rgb */ color: rgb(159, 33, 149);
/* oklch */ color: oklch(50.0% 0.201 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6cb4',
    500: '#9f2195',
    950: '#000000',
  },
}
SCSS
$custom: #9f2195;
$custom-light: #bf6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2195",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 304.762,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.20119,
    "h": 331.8
  },
  "luminance": 0.10629
}

Semantic roles & 50–950 ramp

primary
#9F2195
secondary
#5AC262
accent
#E94D3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2195

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

Preview Lab → · Contrast checker → · Palette generator →

#9F2195 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva