#9F259F#9F259F

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

Color values

HEX#9F259F
RGBrgb(159, 37, 159)
HSLhsl(300, 62%, 38%)
HSVhsv(300, 77%, 62%)
CMYKcmyk(0%, 76.7%, 0%, 37.6%)
CIE-LABlab(39.91, 62.31, -39.07)
CIE-LCHlch(39.91, 73.54, 327.91°)
OKLaboklab(50.92% 0.1739 -0.1083)
OKLCHoklch(50.92% 0.205 328.1)
XYZxyz(21.2174, 11.1988, 33.8383)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F259F #259F25
analogous
#62259F #9F259F #9F2562
triadic
#9F259F #9F9F25 #259F9F
tetradic
#9F259F #9F6225 #259F25 #25629F
square
#9F259F #9F6225 #259F25 #25629F
split-complementary
#9F259F #629F25 #259F62
monochromatic
#3C0E3C #6D196D #9F259F #CF32CF #DB64DB

Accessibility & contrast

On white

6.48
#9F259F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9F259F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F259F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F259F#FFFFFF#000000##FFFFFF
##9F259F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0454A2
Deuteranopia (green-blind)
#48639C
Tritanopia (blue-blind)
#A43961
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f259f;
/* rgb */ color: rgb(159, 37, 159);
/* oklch */ color: oklch(50.9% 0.205 328.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ebc',
    500: '#9f259f',
    950: '#000000',
  },
}
SCSS
$custom: #9f259f;
$custom-light: #bf6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f259f",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 300,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.20488,
    "h": 328.1
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#9F259F
secondary
#5FC05F
accent
#E54242
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F259F

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

Preview Lab → · Contrast checker → · Palette generator →

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