#9F2497#9F2497

#9F2497 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.200 H 331.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9F2497
RGBrgb(159, 36, 151)
HSLhsl(304, 63%, 38%)
HSVhsv(304, 77%, 62%)
CMYKcmyk(0%, 77.4%, 5%, 37.6%)
CIE-LABlab(39.36, 61.31, -35.11)
CIE-LCHlch(39.36, 70.65, 330.20°)
OKLaboklab(50.37% 0.1748 -0.0968)
OKLCHoklch(50.37% 0.2 331)
XYZxyz(20.5148, 10.8687, 30.2896)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2497 #249F2C
analogous
#69249F #9F2497 #9F245A
triadic
#9F2497 #979F24 #24979F
tetradic
#9F2497 #9F6924 #249F2C #245A9F
square
#9F2497 #9F6924 #249F2C #245A9F
split-complementary
#9F2497 #5A9F24 #249F69
monochromatic
#3B0D38 #6D1968 #9F2497 #D030C6 #DB62D4

Accessibility & contrast

On white

6.62
#9F2497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F2497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2497
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2497#FFFFFF#000000##FFFFFF
##9F24971.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#4C6394
Tritanopia (blue-blind)
#A5345C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2497;
/* rgb */ color: rgb(159, 36, 151);
/* oklch */ color: oklch(50.4% 0.200 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf6db6',
    500: '#9f2497',
    950: '#000000',
  },
}
SCSS
$custom: #9f2497;
$custom-light: #bf6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2497",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 303.902,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50374,
    "c": 0.19983,
    "h": 331
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#9F2497
secondary
#5EC165
accent
#E64C42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2497

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

Preview Lab → · Contrast checker → · Palette generator →

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