#9F259D#9F259D

#9F259D is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.203 H 328.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9F259D
RGBrgb(159, 37, 157)
HSLhsl(301, 62%, 38%)
HSVhsv(301, 77%, 62%)
CMYKcmyk(0%, 76.7%, 1.3%, 37.6%)
CIE-LABlab(39.80, 61.98, -38.05)
CIE-LCHlch(39.80, 72.72, 328.46°)
OKLaboklab(50.8% 0.1739 -0.1054)
OKLCHoklch(50.8% 0.203 328.8)
XYZxyz(21.0453, 11.1300, 32.9316)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F259D #259F27
analogous
#64259F #9F259D #9F2560
triadic
#9F259D #9D9F25 #259D9F
tetradic
#9F259D #9F6425 #259F27 #25609F
square
#9F259D #9F6425 #259F27 #25609F
split-complementary
#9F259D #609F25 #259F64
monochromatic
#3C0E3B #6D196C #9F259D #CF32CD #DB64D9

Accessibility & contrast

On white

6.51
#9F259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F259D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F259D#FFFFFF#000000##FFFFFF
##9F259D1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B54A0
Deuteranopia (green-blind)
#49639A
Tritanopia (blue-blind)
#A43860
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f259d;
/* rgb */ color: rgb(159, 37, 157);
/* oklch */ color: oklch(50.8% 0.203 328.8);
Tailwind
colors: {
  custom: {
    50: '#bf6eba',
    500: '#9f259d',
    950: '#000000',
  },
}
SCSS
$custom: #9f259d;
$custom-light: #bf6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f259d",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 300.984,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50797,
    "c": 0.20336,
    "h": 328.8
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#9F259D
secondary
#5FC061
accent
#E54542
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F259D

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

Preview Lab → · Contrast checker → · Palette generator →

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