#9D258D#9D258D

#9D258D is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.190 H 334.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9D258D
RGBrgb(157, 37, 141)
HSLhsl(308, 62%, 38%)
HSVhsv(308, 76%, 62%)
CMYKcmyk(0%, 76.4%, 10.2%, 38.4%)
CIE-LABlab(38.58, 59.01, -30.27)
CIE-LCHlch(38.58, 66.32, 332.84°)
OKLaboklab(49.58% 0.1715 -0.0829)
OKLCHoklch(49.58% 0.19 334.2)
XYZxyz(19.3741, 10.4160, 26.1843)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D258D #259D35
analogous
#71259D #9D258D #9D2551
triadic
#9D258D #8D9D25 #258D9D
tetradic
#9D258D #9D7125 #259D35 #25519D
square
#9D258D #9D7125 #259D35 #25519D
split-complementary
#9D258D #519D25 #259D71
monochromatic
#3A0E34 #6B1961 #9D258D #CE31B9 #DA62CA

Accessibility & contrast

On white

6.81
#9D258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D258D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D258D#FFFFFF#000000##FFFFFF
##9D258D1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#A53057
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d258d;
/* rgb */ color: rgb(157, 37, 141);
/* oklch */ color: oklch(49.6% 0.190 334.2);
Tailwind
colors: {
  custom: {
    50: '#be6dae',
    500: '#9d258d',
    950: '#000000',
  },
}
SCSS
$custom: #9d258d;
$custom-light: #be6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d258d",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 308,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49576,
    "c": 0.19046,
    "h": 334.2
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#9D258D
secondary
#5EBF6B
accent
#E55843
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D258D

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

Preview Lab → · Contrast checker → · Palette generator →

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