#9D259C#9D259C

#9D259C is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.202 H 328.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9D259C
RGBrgb(157, 37, 156)
HSLhsl(301, 62%, 38%)
HSVhsv(301, 76%, 62%)
CMYKcmyk(0%, 76.4%, 0.6%, 38.4%)
CIE-LABlab(39.40, 61.39, -38.10)
CIE-LCHlch(39.40, 72.25, 328.18°)
OKLaboklab(50.43% 0.1718 -0.1056)
OKLCHoklch(50.43% 0.202 328.4)
XYZxyz(20.5667, 10.8931, 32.4654)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D259C #259D26
analogous
#62259D #9D259C #9D2560
triadic
#9D259C #9C9D25 #259C9D
tetradic
#9D259C #9D6225 #259D26 #25609D
square
#9D259C #9D6225 #259D26 #25609D
split-complementary
#9D259C #609D25 #259D62
monochromatic
#3A0E3A #6B196B #9D259C #CE31CD #DA62D9

Accessibility & contrast

On white

6.61
#9D259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9D259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D259C
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D259C#FFFFFF#000000##FFFFFF
##9D259C1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09539F
Deuteranopia (green-blind)
#486299
Tritanopia (blue-blind)
#A2385F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d259c;
/* rgb */ color: rgb(157, 37, 156);
/* oklch */ color: oklch(50.4% 0.202 328.4);
Tailwind
colors: {
  custom: {
    50: '#be6eba',
    500: '#9d259c',
    950: '#000000',
  },
}
SCSS
$custom: #9d259c;
$custom-light: #be6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d259c",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 300.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50429,
    "c": 0.20165,
    "h": 328.4
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#9D259C
secondary
#5EBF5F
accent
#E54443
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D259C

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

Preview Lab → · Contrast checker → · Palette generator →

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