#9F259B#9F259B

#9F259B is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.202 H 329.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9F259B
RGBrgb(159, 37, 155)
HSLhsl(302, 62%, 38%)
HSVhsv(302, 77%, 62%)
CMYKcmyk(0%, 76.7%, 2.5%, 37.6%)
CIE-LABlab(39.69, 61.65, -37.02)
CIE-LCHlch(39.69, 71.91, 329.02°)
OKLaboklab(50.68% 0.174 -0.1024)
OKLCHoklch(50.68% 0.202 329.5)
XYZxyz(20.8759, 11.0622, 32.0397)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F259B #259F29
analogous
#66259F #9F259B #9F255E
triadic
#9F259B #9B9F25 #259B9F
tetradic
#9F259B #9F6625 #259F29 #255E9F
square
#9F259B #9F6625 #259F29 #255E9F
split-complementary
#9F259B #5E9F25 #259F66
monochromatic
#3C0E3A #6D196B #9F259B #CF32CA #DB64D7

Accessibility & contrast

On white

6.54
#9F259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F259B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F259B#FFFFFF#000000##FFFFFF
##9F259B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539E
Deuteranopia (green-blind)
#4A6398
Tritanopia (blue-blind)
#A5375F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f259b;
/* rgb */ color: rgb(159, 37, 155);
/* oklch */ color: oklch(50.7% 0.202 329.5);
Tailwind
colors: {
  custom: {
    50: '#bf6eb9',
    500: '#9f259b',
    950: '#000000',
  },
}
SCSS
$custom: #9f259b;
$custom-light: #bf6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f259b",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 301.967,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.20184,
    "h": 329.5
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F259B

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

Preview Lab → · Contrast checker → · Palette generator →

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