#9F2494#9F2494

#9F2494 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.198 H 332.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9F2494
RGBrgb(159, 36, 148)
HSLhsl(305, 63%, 38%)
HSVhsv(305, 77%, 62%)
CMYKcmyk(0%, 77.4%, 6.9%, 37.6%)
CIE-LABlab(39.19, 60.84, -33.55)
CIE-LCHlch(39.19, 69.48, 331.13°)
OKLaboklab(50.2% 0.1747 -0.0923)
OKLCHoklch(50.2% 0.198 332.1)
XYZxyz(20.2743, 10.7725, 29.0227)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2494 #249F2F
analogous
#6C249F #9F2494 #9F2456
triadic
#9F2494 #949F24 #24949F
tetradic
#9F2494 #9F6C24 #249F2F #24569F
square
#9F2494 #9F6C24 #249F2F #24569F
split-complementary
#9F2494 #569F24 #249F6C
monochromatic
#3B0D37 #6D1966 #9F2494 #D030C2 #DB62D1

Accessibility & contrast

On white

6.66
#9F2494 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F2494 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2494
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2494#FFFFFF#000000##FFFFFF
##9F24941.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5197
Deuteranopia (green-blind)
#4D6291
Tritanopia (blue-blind)
#A6335B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2494;
/* rgb */ color: rgb(159, 36, 148);
/* oklch */ color: oklch(50.2% 0.198 332.1);
Tailwind
colors: {
  custom: {
    50: '#bf6db4',
    500: '#9f2494',
    950: '#000000',
  },
}
SCSS
$custom: #9f2494;
$custom-light: #bf6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2494",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 305.366,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50204,
    "c": 0.19762,
    "h": 332.1
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#9F2494
secondary
#5EC167
accent
#E65042
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2494

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

Preview Lab → · Contrast checker → · Palette generator →

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