#9D258E#9D258E

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

Color values

HEX#9D258E
RGBrgb(157, 37, 142)
HSLhsl(308, 62%, 38%)
HSVhsv(308, 76%, 62%)
CMYKcmyk(0%, 76.4%, 9.6%, 38.4%)
CIE-LABlab(38.63, 59.16, -30.80)
CIE-LCHlch(38.63, 66.70, 332.50°)
OKLaboklab(49.63% 0.1715 -0.0844)
OKLCHoklch(49.63% 0.191 333.8)
XYZxyz(19.4488, 10.4459, 26.5779)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D258E #259D34
analogous
#70259D #9D258E #9D2552
triadic
#9D258E #8E9D25 #258E9D
tetradic
#9D258E #9D7025 #259D34 #25529D
square
#9D258E #9D7025 #259D34 #25529D
split-complementary
#9D258E #529D25 #259D70
monochromatic
#3A0E34 #6B1961 #9D258E #CE31BB #DA62CB

Accessibility & contrast

On white

6.80
#9D258E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D258E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D258E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D258E#FFFFFF#000000##FFFFFF
##9D258E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#A43158
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d258e;
/* rgb */ color: rgb(157, 37, 142);
/* oklch */ color: oklch(49.6% 0.191 333.8);
Tailwind
colors: {
  custom: {
    50: '#be6daf',
    500: '#9d258e',
    950: '#000000',
  },
}
SCSS
$custom: #9d258e;
$custom-light: #be6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d258e",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 307.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4963,
    "c": 0.19118,
    "h": 333.8
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

primary
#9D258E
secondary
#5EBF6A
accent
#E55743
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D258E

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

Preview Lab → · Contrast checker → · Palette generator →

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