#9F1893#9F1893

#9F1893 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.207 H 332.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9F1893
RGBrgb(159, 24, 147)
HSLhsl(305, 74%, 36%)
HSVhsv(305, 85%, 62%)
CMYKcmyk(0%, 84.9%, 7.5%, 37.6%)
CIE-LABlab(38.08, 63.76, -34.71)
CIE-LCHlch(38.08, 72.59, 331.44°)
OKLaboklab(49.39% 0.1837 -0.0956)
OKLCHoklch(49.39% 0.207 332.5)
XYZxyz(19.8913, 10.1325, 28.5063)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1893 #189F24
analogous
#67189F #9F1893 #9F1850
triadic
#9F1893 #939F18 #18939F
tetradic
#9F1893 #9F6718 #189F24 #18509F
square
#9F1893 #9F6718 #189F24 #18509F
split-complementary
#9F1893 #509F18 #189F67
monochromatic
#350831 #6A1062 #9F1893 #D420C4 #E44DD7

Accessibility & contrast

On white

6.94
#9F1893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F1893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1893
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1893#FFFFFF#000000##FFFFFF
##9F18931.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094E96
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#A62B58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1893;
/* rgb */ color: rgb(159, 24, 147);
/* oklch */ color: oklch(49.4% 0.207 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf69b3',
    500: '#9f1893',
    950: '#000000',
  },
}
SCSS
$custom: #9f1893;
$custom-light: #bf69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1893",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 305.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4939,
    "c": 0.20705,
    "h": 332.5
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#9F1893
secondary
#4DC657
accent
#F04837
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1893

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

Preview Lab → · Contrast checker → · Palette generator →

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