#9D259F#9D259F

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

Color values

HEX#9D259F
RGBrgb(157, 37, 159)
HSLhsl(299, 62%, 38%)
HSVhsv(299, 77%, 62%)
CMYKcmyk(1.3%, 76.7%, 0%, 37.6%)
CIE-LABlab(39.57, 61.88, -39.63)
CIE-LCHlch(39.57, 73.48, 327.36°)
OKLaboklab(50.61% 0.1717 -0.11)
OKLCHoklch(50.61% 0.204 327.4)
XYZxyz(20.8239, 10.9959, 33.8198)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D259F #279F25
analogous
#60259F #9D259F #9F2564
triadic
#9D259F #9F9D25 #259F9D
tetradic
#9D259F #9F6025 #279F25 #25649F
square
#9D259F #9F6025 #279F25 #25649F
split-complementary
#9D259F #649F25 #259F60
monochromatic
#3B0E3C #6C196D #9D259F #CD32CF #D964DB

Accessibility & contrast

On white

6.56
#9D259F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9D259F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D259F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D259F#FFFFFF#000000##FFFFFF
##9D259F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#46629C
Tritanopia (blue-blind)
#A23A61
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d259f;
/* rgb */ color: rgb(157, 37, 159);
/* oklch */ color: oklch(50.6% 0.204 327.4);
Tailwind
colors: {
  custom: {
    50: '#be6ebc',
    500: '#9d259f',
    950: '#000000',
  },
}
SCSS
$custom: #9d259f;
$custom-light: #be6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d259f",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 299.016,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50609,
    "c": 0.20395,
    "h": 327.4
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#9D259F
secondary
#61C05F
accent
#E54245
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D259F

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

Preview Lab → · Contrast checker → · Palette generator →

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