#9D259A#9D259A

#9D259A is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.200 H 329.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9D259A
RGBrgb(157, 37, 154)
HSLhsl(302, 62%, 38%)
HSVhsv(302, 76%, 62%)
CMYKcmyk(0%, 76.4%, 1.9%, 38.4%)
CIE-LABlab(39.29, 61.06, -37.07)
CIE-LCHlch(39.29, 71.43, 328.74°)
OKLaboklab(50.31% 0.1718 -0.1026)
OKLCHoklch(50.31% 0.2 329.2)
XYZxyz(20.3988, 10.8259, 31.5808)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D259A #259D28
analogous
#64259D #9D259A #9D255E
triadic
#9D259A #9A9D25 #259A9D
tetradic
#9D259A #9D6425 #259D28 #255E9D
square
#9D259A #9D6425 #259D28 #255E9D
split-complementary
#9D259A #5E9D25 #259D64
monochromatic
#3A0E39 #6B1969 #9D259A #CE31CA #DA62D7

Accessibility & contrast

On white

6.64
#9D259A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9D259A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D259A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D259A#FFFFFF#000000##FFFFFF
##9D259A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F529D
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#A3375E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d259a;
/* rgb */ color: rgb(157, 37, 154);
/* oklch */ color: oklch(50.3% 0.200 329.2);
Tailwind
colors: {
  custom: {
    50: '#be6eb8',
    500: '#9d259a',
    950: '#000000',
  },
}
SCSS
$custom: #9d259a;
$custom-light: #be6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d259a",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 301.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5031,
    "c": 0.20012,
    "h": 329.2
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#9D259A
secondary
#5EBF61
accent
#E54743
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D259A

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

Preview Lab → · Contrast checker → · Palette generator →

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