#9D258F#9D258F

#9D258F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.192 H 333.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9D258F
RGBrgb(157, 37, 143)
HSLhsl(307, 62%, 38%)
HSVhsv(307, 76%, 62%)
CMYKcmyk(0%, 76.4%, 8.9%, 38.4%)
CIE-LABlab(38.68, 59.31, -31.33)
CIE-LCHlch(38.68, 67.08, 332.16°)
OKLaboklab(49.69% 0.1716 -0.086)
OKLCHoklch(49.69% 0.192 333.4)
XYZxyz(19.5243, 10.4761, 26.9751)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D258F #259D33
analogous
#6F259D #9D258F #9D2553
triadic
#9D258F #8F9D25 #258F9D
tetradic
#9D258F #9D6F25 #259D33 #25539D
square
#9D258F #9D6F25 #259D33 #25539D
split-complementary
#9D258F #539D25 #259D6F
monochromatic
#3A0E35 #6B1962 #9D258F #CE31BC #DA62CC

Accessibility & contrast

On white

6.79
#9D258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D258F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D258F#FFFFFF#000000##FFFFFF
##9D258F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A43258
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d258f;
/* rgb */ color: rgb(157, 37, 143);
/* oklch */ color: oklch(49.7% 0.192 333.4);
Tailwind
colors: {
  custom: {
    50: '#be6db0',
    500: '#9d258f',
    950: '#000000',
  },
}
SCSS
$custom: #9d258f;
$custom-light: #be6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d258f",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 307,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.19191,
    "h": 333.4
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#9D258F
secondary
#5EBF6A
accent
#E55643
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D258F

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

Preview Lab → · Contrast checker → · Palette generator →

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