#9F2496#9F2496

#9F2496 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.3% C 0.199 H 331.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F2496
RGBrgb(159, 36, 150)
HSLhsl(304, 63%, 38%)
HSVhsv(304, 77%, 62%)
CMYKcmyk(0%, 77.4%, 5.7%, 37.6%)
CIE-LABlab(39.30, 61.15, -34.59)
CIE-LCHlch(39.30, 70.26, 330.50°)
OKLaboklab(50.32% 0.1748 -0.0953)
OKLCHoklch(50.32% 0.199 331.4)
XYZxyz(20.4340, 10.8364, 29.8637)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2496 #249F2D
analogous
#6A249F #9F2496 #9F2458
triadic
#9F2496 #969F24 #24969F
tetradic
#9F2496 #9F6A24 #249F2D #24589F
square
#9F2496 #9F6A24 #249F2D #24589F
split-complementary
#9F2496 #589F24 #249F6A
monochromatic
#3B0D38 #6D1967 #9F2496 #D030C4 #DB62D3

Accessibility & contrast

On white

6.63
#9F2496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F2496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2496
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2496#FFFFFF#000000##FFFFFF
##9F24961.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185299
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#A6345C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2496;
/* rgb */ color: rgb(159, 36, 150);
/* oklch */ color: oklch(50.3% 0.199 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6db5',
    500: '#9f2496',
    950: '#000000',
  },
}
SCSS
$custom: #9f2496;
$custom-light: #bf6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2496",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 304.39,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50317,
    "c": 0.19908,
    "h": 331.4
  },
  "luminance": 0.10835
}

Semantic roles & 50–950 ramp

primary
#9F2496
secondary
#5EC165
accent
#E64E42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2496

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

Preview Lab → · Contrast checker → · Palette generator →

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