#9F259E#9F259E

#9F259E is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.204 H 328.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9F259E
RGBrgb(159, 37, 158)
HSLhsl(300, 62%, 38%)
HSVhsv(300, 77%, 62%)
CMYKcmyk(0%, 76.7%, 0.6%, 37.6%)
CIE-LABlab(39.86, 62.14, -38.56)
CIE-LCHlch(39.86, 73.13, 328.18°)
OKLaboklab(50.86% 0.1739 -0.1068)
OKLCHoklch(50.86% 0.204 328.4)
XYZxyz(21.1310, 11.1643, 33.3831)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F259E #259F26
analogous
#63259F #9F259E #9F2561
triadic
#9F259E #9E9F25 #259E9F
tetradic
#9F259E #9F6325 #259F26 #25619F
square
#9F259E #9F6325 #259F26 #25619F
split-complementary
#9F259E #619F25 #259F63
monochromatic
#3C0E3B #6D196D #9F259E #CF32CE #DB64DA

Accessibility & contrast

On white

6.50
#9F259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9F259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F259E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F259E#FFFFFF#000000##FFFFFF
##9F259E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0754A1
Deuteranopia (green-blind)
#48639B
Tritanopia (blue-blind)
#A43961
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f259e;
/* rgb */ color: rgb(159, 37, 158);
/* oklch */ color: oklch(50.9% 0.204 328.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ebb',
    500: '#9f259e',
    950: '#000000',
  },
}
SCSS
$custom: #9f259e;
$custom-light: #bf6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f259e",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 300.492,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50856,
    "c": 0.20412,
    "h": 328.4
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#9F259E
secondary
#5FC060
accent
#E54442
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F259E

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

Preview Lab → · Contrast checker → · Palette generator →

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