#9F2498#9F2498

#9F2498 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.201 H 330.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9F2498
RGBrgb(159, 36, 152)
HSLhsl(303, 63%, 38%)
HSVhsv(303, 77%, 62%)
CMYKcmyk(0%, 77.4%, 4.4%, 37.6%)
CIE-LABlab(39.41, 61.47, -35.63)
CIE-LCHlch(39.41, 71.05, 329.90°)
OKLaboklab(50.43% 0.1748 -0.0984)
OKLCHoklch(50.43% 0.201 330.6)
XYZxyz(20.5964, 10.9013, 30.7191)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2498 #249F2B
analogous
#68249F #9F2498 #9F245A
triadic
#9F2498 #989F24 #24989F
tetradic
#9F2498 #9F6824 #249F2B #245A9F
square
#9F2498 #9F6824 #249F2B #245A9F
split-complementary
#9F2498 #5A9F24 #249F68
monochromatic
#3B0D39 #6D1968 #9F2498 #D030C7 #DB62D5

Accessibility & contrast

On white

6.60
#9F2498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9F2498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2498
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2498#FFFFFF#000000##FFFFFF
##9F24981.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529B
Deuteranopia (green-blind)
#4B6395
Tritanopia (blue-blind)
#A5355D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2498;
/* rgb */ color: rgb(159, 36, 152);
/* oklch */ color: oklch(50.4% 0.201 330.6);
Tailwind
colors: {
  custom: {
    50: '#bf6db7',
    500: '#9f2498',
    950: '#000000',
  },
}
SCSS
$custom: #9f2498;
$custom-light: #bf6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2498",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 303.415,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.20057,
    "h": 330.6
  },
  "luminance": 0.109
}

Semantic roles & 50–950 ramp

primary
#9F2498
secondary
#5EC164
accent
#E64B42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2498

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

Preview Lab → · Contrast checker → · Palette generator →

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