#9F2299#9F2299

#9F2299 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.203 H 330.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9F2299
RGBrgb(159, 34, 153)
HSLhsl(303, 65%, 38%)
HSVhsv(303, 79%, 62%)
CMYKcmyk(0%, 78.6%, 3.8%, 37.6%)
CIE-LABlab(39.27, 62.20, -36.47)
CIE-LCHlch(39.27, 72.11, 329.62°)
OKLaboklab(50.35% 0.1765 -0.1008)
OKLCHoklch(50.35% 0.203 330.3)
XYZxyz(20.6198, 10.8165, 31.1326)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2299 #229F28
analogous
#66229F #9F2299 #9F225A
triadic
#9F2299 #999F22 #22999F
tetradic
#9F2299 #9F6622 #229F28 #225A9F
square
#9F2299 #9F6622 #229F28 #225A9F
split-complementary
#9F2299 #5A9F22 #229F66
monochromatic
#3A0C38 #6D1768 #9F2299 #D12DCA #DD5FD7

Accessibility & contrast

On white

6.64
#9F2299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F2299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2299
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2299#FFFFFF#000000##FFFFFF
##9F22991.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E529C
Deuteranopia (green-blind)
#4A6296
Tritanopia (blue-blind)
#A5345D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2299;
/* rgb */ color: rgb(159, 34, 153);
/* oklch */ color: oklch(50.3% 0.203 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf6db7',
    500: '#9f2299',
    950: '#000000',
  },
}
SCSS
$custom: #9f2299;
$custom-light: #bf6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2299",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 302.88,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50347,
    "c": 0.2032,
    "h": 330.3
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#9F2299
secondary
#5BC160
accent
#E84840
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2299

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

Preview Lab → · Contrast checker → · Palette generator →

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