#9F2598#9F2598

#9F2598 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.200 H 330.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9F2598
RGBrgb(159, 37, 152)
HSLhsl(303, 62%, 38%)
HSVhsv(303, 77%, 62%)
CMYKcmyk(0%, 76.7%, 4.4%, 37.6%)
CIE-LABlab(39.52, 61.17, -35.47)
CIE-LCHlch(39.52, 70.71, 329.89°)
OKLaboklab(50.51% 0.1739 -0.0979)
OKLCHoklch(50.51% 0.2 330.6)
XYZxyz(20.6271, 10.9627, 30.7293)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2598 #259F2C
analogous
#69259F #9F2598 #9F255B
triadic
#9F2598 #989F25 #25989F
tetradic
#9F2598 #9F6925 #259F2C #255B9F
square
#9F2598 #9F6925 #259F2C #255B9F
split-complementary
#9F2598 #5B9F25 #259F69
monochromatic
#3C0E39 #6D1969 #9F2598 #CF32C6 #DB64D4

Accessibility & contrast

On white

6.58
#9F2598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9F2598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2598
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2598#FFFFFF#000000##FFFFFF
##9F25981.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529B
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#A5365D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2598;
/* rgb */ color: rgb(159, 37, 152);
/* oklch */ color: oklch(50.5% 0.200 330.6);
Tailwind
colors: {
  custom: {
    50: '#bf6eb7',
    500: '#9f2598',
    950: '#000000',
  },
}
SCSS
$custom: #9f2598;
$custom-light: #bf6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2598",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 303.443,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50506,
    "c": 0.19959,
    "h": 330.6
  },
  "luminance": 0.10961
}

Semantic roles & 50–950 ramp

primary
#9F2598
secondary
#5FC065
accent
#E54C42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2598

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

Preview Lab → · Contrast checker → · Palette generator →

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