#9F2194#9F2194

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

Color values

HEX#9F2194
RGBrgb(159, 33, 148)
HSLhsl(305, 66%, 38%)
HSVhsv(305, 79%, 62%)
CMYKcmyk(0%, 79.2%, 6.9%, 37.6%)
CIE-LABlab(38.90, 61.70, -34.02)
CIE-LCHlch(38.90, 70.46, 331.13°)
OKLaboklab(49.99% 0.1772 -0.0937)
OKLCHoklch(49.99% 0.2 332.1)
XYZxyz(20.1873, 10.5985, 28.9937)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2194 #219F2C
analogous
#6B219F #9F2194 #9F2155
triadic
#9F2194 #949F21 #21949F
tetradic
#9F2194 #9F6B21 #219F2C #21559F
square
#9F2194 #9F6B21 #219F2C #21559F
split-complementary
#9F2194 #559F21 #219F6B
monochromatic
#3A0C36 #6C1665 #9F2194 #D22CC3 #DD5DD2

Accessibility & contrast

On white

6.73
#9F2194 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F2194 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2194
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2194#FFFFFF#000000##FFFFFF
##9F21941.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165097
Deuteranopia (green-blind)
#4C6291
Tritanopia (blue-blind)
#A6315A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2194;
/* rgb */ color: rgb(159, 33, 148);
/* oklch */ color: oklch(50.0% 0.200 332.1);
Tailwind
colors: {
  custom: {
    50: '#bf6cb4',
    500: '#9f2194',
    950: '#000000',
  },
}
SCSS
$custom: #9f2194;
$custom-light: #bf6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2194",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 305.238,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4999,
    "c": 0.20046,
    "h": 332.1
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#9F2194
secondary
#5AC263
accent
#E94E3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2194

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

Preview Lab → · Contrast checker → · Palette generator →

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