#9F2097#9F2097

#9F2097 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.204 H 331.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9F2097
RGBrgb(159, 32, 151)
HSLhsl(304, 66%, 37%)
HSVhsv(304, 80%, 62%)
CMYKcmyk(0%, 79.9%, 5%, 37.6%)
CIE-LABlab(38.97, 62.44, -35.73)
CIE-LCHlch(38.97, 71.94, 330.22°)
OKLaboklab(50.1% 0.1781 -0.0986)
OKLCHoklch(50.1% 0.204 331)
XYZxyz(20.4005, 10.6400, 30.2514)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2097 #209F28
analogous
#68209F #9F2097 #9F2057
triadic
#9F2097 #979F20 #20979F
tetradic
#9F2097 #9F6820 #209F28 #20579F
square
#9F2097 #9F6820 #209F28 #20579F
split-complementary
#9F2097 #579F20 #209F68
monochromatic
#390B36 #6C1667 #9F2097 #D22AC7 #DE5BD6

Accessibility & contrast

On white

6.71
#9F2097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2097
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2097#FFFFFF#000000##FFFFFF
##9F20971.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#4A6294
Tritanopia (blue-blind)
#A6325B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2097;
/* rgb */ color: rgb(159, 32, 151);
/* oklch */ color: oklch(50.1% 0.204 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf6cb6',
    500: '#9f2097',
    950: '#000000',
  },
}
SCSS
$custom: #9f2097;
$custom-light: #bf6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2097",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 303.78,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.20354,
    "h": 331
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#9F2097
secondary
#59C25F
accent
#E9493E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F2097

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

Preview Lab → · Contrast checker → · Palette generator →

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