#9D259B#9D259B

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

Color values

HEX#9D259B
RGBrgb(157, 37, 155)
HSLhsl(301, 62%, 38%)
HSVhsv(301, 76%, 62%)
CMYKcmyk(0%, 76.4%, 1.3%, 38.4%)
CIE-LABlab(39.34, 61.22, -37.58)
CIE-LCHlch(39.34, 71.84, 328.45°)
OKLaboklab(50.37% 0.1718 -0.1041)
OKLCHoklch(50.37% 0.201 328.8)
XYZxyz(20.4824, 10.8593, 32.0213)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D259B #259D27
analogous
#63259D #9D259B #9D255F
triadic
#9D259B #9B9D25 #259B9D
tetradic
#9D259B #9D6325 #259D27 #255F9D
square
#9D259B #9D6325 #259D27 #255F9D
split-complementary
#9D259B #5F9D25 #259D63
monochromatic
#3A0E39 #6B196A #9D259B #CE31CC #DA62D8

Accessibility & contrast

On white

6.62
#9D259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9D259B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D259B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D259B#FFFFFF#000000##FFFFFF
##9D259B1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C539E
Deuteranopia (green-blind)
#486298
Tritanopia (blue-blind)
#A2385F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d259b;
/* rgb */ color: rgb(157, 37, 155);
/* oklch */ color: oklch(50.4% 0.201 328.8);
Tailwind
colors: {
  custom: {
    50: '#be6eb9',
    500: '#9d259b',
    950: '#000000',
  },
}
SCSS
$custom: #9d259b;
$custom-light: #be6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d259b",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 301,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50369,
    "c": 0.20088,
    "h": 328.8
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#9D259B
secondary
#5EBF60
accent
#E54643
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D259B

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

Preview Lab → · Contrast checker → · Palette generator →

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