#9F2293#9F2293

#9F2293 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.199 H 332.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9F2293
RGBrgb(159, 34, 147)
HSLhsl(306, 65%, 38%)
HSVhsv(306, 79%, 62%)
CMYKcmyk(0%, 78.6%, 7.5%, 37.6%)
CIE-LABlab(38.94, 61.27, -33.35)
CIE-LCHlch(38.94, 69.75, 331.44°)
OKLaboklab(50% 0.1764 -0.0917)
OKLCHoklch(50% 0.199 332.5)
XYZxyz(20.1367, 10.6233, 28.5881)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2293 #229F2E
analogous
#6C229F #9F2293 #9F2254
triadic
#9F2293 #939F22 #22939F
tetradic
#9F2293 #9F6C22 #229F2E #22549F
square
#9F2293 #9F6C22 #229F2E #22549F
split-complementary
#9F2293 #549F22 #229F6C
monochromatic
#3A0C36 #6D1764 #9F2293 #D12DC2 #DD5FD1

Accessibility & contrast

On white

6.72
#9F2293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2293
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2293#FFFFFF#000000##FFFFFF
##9F22931.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2293;
/* rgb */ color: rgb(159, 34, 147);
/* oklch */ color: oklch(50.0% 0.199 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6db3',
    500: '#9f2293',
    950: '#000000',
  },
}
SCSS
$custom: #9f2293;
$custom-light: #bf6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2293",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 305.76,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50003,
    "c": 0.19881,
    "h": 332.5
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#9F2293
secondary
#5BC165
accent
#E85040
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2293

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

Preview Lab → · Contrast checker → · Palette generator →

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