#9F259A#9F259A

#9F259A is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.201 H 329.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9F259A
RGBrgb(159, 37, 154)
HSLhsl(302, 62%, 38%)
HSVhsv(302, 77%, 62%)
CMYKcmyk(0%, 76.7%, 3.1%, 37.6%)
CIE-LABlab(39.63, 61.49, -36.50)
CIE-LCHlch(39.63, 71.51, 329.31°)
OKLaboklab(50.62% 0.174 -0.1009)
OKLCHoklch(50.62% 0.201 329.9)
XYZxyz(20.7923, 11.0288, 31.5993)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F259A #259F2A
analogous
#67259F #9F259A #9F255D
triadic
#9F259A #9A9F25 #259A9F
tetradic
#9F259A #9F6725 #259F2A #255D9F
square
#9F259A #9F6725 #259F2A #255D9F
split-complementary
#9F259A #5D9F25 #259F67
monochromatic
#3C0E3A #6D196A #9F259A #CF32C9 #DB64D6

Accessibility & contrast

On white

6.55
#9F259A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9F259A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F259A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F259A#FFFFFF#000000##FFFFFF
##9F259A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539D
Deuteranopia (green-blind)
#4B6397
Tritanopia (blue-blind)
#A5375E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f259a;
/* rgb */ color: rgb(159, 37, 154);
/* oklch */ color: oklch(50.6% 0.201 329.9);
Tailwind
colors: {
  custom: {
    50: '#bf6eb8',
    500: '#9f259a',
    950: '#000000',
  },
}
SCSS
$custom: #9f259a;
$custom-light: #bf6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f259a",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 302.459,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50621,
    "c": 0.20109,
    "h": 329.9
  },
  "luminance": 0.11027
}

Semantic roles & 50–950 ramp

primary
#9F259A
secondary
#5FC063
accent
#E54942
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F259A

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

Preview Lab → · Contrast checker → · Palette generator →

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