#9F1993#9F1993

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

Color values

HEX#9F1993
RGBrgb(159, 25, 147)
HSLhsl(305, 73%, 36%)
HSVhsv(305, 84%, 62%)
CMYKcmyk(0%, 84.3%, 7.5%, 37.6%)
CIE-LABlab(38.15, 63.54, -34.59)
CIE-LCHlch(38.15, 72.34, 331.44°)
OKLaboklab(49.44% 0.183 -0.0952)
OKLCHoklch(49.44% 0.206 332.5)
XYZxyz(19.9123, 10.1745, 28.5133)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1993 #199F25
analogous
#68199F #9F1993 #9F1950
triadic
#9F1993 #939F19 #19939F
tetradic
#9F1993 #9F6819 #199F25 #19509F
square
#9F1993 #9F6819 #199F25 #19509F
split-complementary
#9F1993 #509F19 #199F68
monochromatic
#350831 #6A1162 #9F1993 #D421C4 #E34FD6

Accessibility & contrast

On white

6.92
#9F1993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1993
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1993#FFFFFF#000000##FFFFFF
##9F19931.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4E96
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#A62C58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1993;
/* rgb */ color: rgb(159, 25, 147);
/* oklch */ color: oklch(49.4% 0.206 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6ab3',
    500: '#9f1993',
    950: '#000000',
  },
}
SCSS
$custom: #9f1993;
$custom-light: #bf6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1993",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 305.373,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.20632,
    "h": 332.5
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#9F1993
secondary
#4EC659
accent
#F04938
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1993

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

Preview Lab → · Contrast checker → · Palette generator →

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