#9F2197#9F2197

#9F2197 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.203 H 331.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9F2197
RGBrgb(159, 33, 151)
HSLhsl(304, 66%, 38%)
HSVhsv(304, 79%, 62%)
CMYKcmyk(0%, 79.2%, 5%, 37.6%)
CIE-LABlab(39.06, 62.17, -35.58)
CIE-LCHlch(39.06, 71.63, 330.21°)
OKLaboklab(50.16% 0.1773 -0.0982)
OKLCHoklch(50.16% 0.203 331)
XYZxyz(20.4278, 10.6947, 30.2605)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2197 #219F29
analogous
#68219F #9F2197 #9F2158
triadic
#9F2197 #979F21 #21979F
tetradic
#9F2197 #9F6821 #219F29 #21589F
square
#9F2197 #9F6821 #219F29 #21589F
split-complementary
#9F2197 #589F21 #219F68
monochromatic
#3A0C37 #6C1667 #9F2197 #D22CC7 #DD5DD5

Accessibility & contrast

On white

6.69
#9F2197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F2197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2197
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2197#FFFFFF#000000##FFFFFF
##9F21971.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#4B6294
Tritanopia (blue-blind)
#A6335C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2197;
/* rgb */ color: rgb(159, 33, 151);
/* oklch */ color: oklch(50.2% 0.203 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf6cb6',
    500: '#9f2197',
    950: '#000000',
  },
}
SCSS
$custom: #9f2197;
$custom-light: #bf6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2197",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 303.81,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50162,
    "c": 0.20264,
    "h": 331
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F2197

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

Preview Lab → · Contrast checker → · Palette generator →

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