#9F2196#9F2196

#9F2196 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.202 H 331.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9F2196
RGBrgb(159, 33, 150)
HSLhsl(304, 66%, 38%)
HSVhsv(304, 79%, 62%)
CMYKcmyk(0%, 79.2%, 5.7%, 37.6%)
CIE-LABlab(39.01, 62.01, -35.06)
CIE-LCHlch(39.01, 71.24, 330.51°)
OKLaboklab(50.1% 0.1773 -0.0967)
OKLCHoklch(50.1% 0.202 331.4)
XYZxyz(20.3470, 10.6623, 29.8347)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2196 #219F2A
analogous
#69219F #9F2196 #9F2157
triadic
#9F2196 #969F21 #21969F
tetradic
#9F2196 #9F6921 #219F2A #21579F
square
#9F2196 #9F6921 #219F2A #21579F
split-complementary
#9F2196 #579F21 #219F69
monochromatic
#3A0C36 #6C1666 #9F2196 #D22CC6 #DD5DD4

Accessibility & contrast

On white

6.70
#9F2196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2196
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2196#FFFFFF#000000##FFFFFF
##9F21961.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2196;
/* rgb */ color: rgb(159, 33, 150);
/* oklch */ color: oklch(50.1% 0.202 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6cb5',
    500: '#9f2196',
    950: '#000000',
  },
}
SCSS
$custom: #9f2196;
$custom-light: #bf6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2196",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 304.286,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50104,
    "c": 0.20192,
    "h": 331.4
  },
  "luminance": 0.10661
}

Semantic roles & 50–950 ramp

primary
#9F2196
secondary
#5AC261
accent
#E94B3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2196

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

Preview Lab → · Contrast checker → · Palette generator →

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