#9F2193#9F2193

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

Color values

HEX#9F2193
RGBrgb(159, 33, 147)
HSLhsl(306, 66%, 38%)
HSVhsv(306, 79%, 62%)
CMYKcmyk(0%, 79.2%, 7.5%, 37.6%)
CIE-LABlab(38.84, 61.55, -33.50)
CIE-LCHlch(38.84, 70.07, 331.44°)
OKLaboklab(49.93% 0.1772 -0.0922)
OKLCHoklch(49.93% 0.2 332.5)
XYZxyz(20.1085, 10.5670, 28.5787)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2193 #219F2D
analogous
#6C219F #9F2193 #9F2154
triadic
#9F2193 #939F21 #21939F
tetradic
#9F2193 #9F6C21 #219F2D #21549F
square
#9F2193 #9F6C21 #219F2D #21549F
split-complementary
#9F2193 #549F21 #219F6C
monochromatic
#3A0C35 #6C1664 #9F2193 #D22CC2 #DD5DD1

Accessibility & contrast

On white

6.75
#9F2193 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F2193 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2193
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2193#FFFFFF#000000##FFFFFF
##9F21931.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185096
Deuteranopia (green-blind)
#4D6290
Tritanopia (blue-blind)
#A63059
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2193;
/* rgb */ color: rgb(159, 33, 147);
/* oklch */ color: oklch(49.9% 0.200 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6cb3',
    500: '#9f2193',
    950: '#000000',
  },
}
SCSS
$custom: #9f2193;
$custom-light: #bf6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2193",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 305.714,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49934,
    "c": 0.19974,
    "h": 332.5
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#9F2193
secondary
#5AC264
accent
#E94F3F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F2193

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

Preview Lab → · Contrast checker → · Palette generator →

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