#9D249D#9D249D

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

Color values

HEX#9D249D
RGBrgb(157, 36, 157)
HSLhsl(300, 63%, 38%)
HSVhsv(300, 77%, 62%)
CMYKcmyk(0%, 77.1%, 0%, 38.4%)
CIE-LABlab(39.35, 61.85, -38.77)
CIE-LCHlch(39.35, 73.00, 327.92°)
OKLaboklab(50.41% 0.1726 -0.1075)
OKLCHoklch(50.41% 0.203 328.1)
XYZxyz(20.6211, 10.8657, 32.9029)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D249D #249D24
analogous
#60249D #9D249D #9D2460
triadic
#9D249D #9D9D24 #249D9D
tetradic
#9D249D #9D6024 #249D24 #24609D
square
#9D249D #9D6024 #249D24 #24609D
split-complementary
#9D249D #609D24 #249D60
monochromatic
#390D39 #6B196B #9D249D #CF2FCF #DB61DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D249D#FFFFFF#000000##FFFFFF
##9D249D1.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)
#0353A0
Deuteranopia (green-blind)
#47629A
Tritanopia (blue-blind)
#A23860
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d249d;
/* rgb */ color: rgb(157, 36, 157);
/* oklch */ color: oklch(50.4% 0.203 328.1);
Tailwind
colors: {
  custom: {
    50: '#be6dba',
    500: '#9d249d',
    950: '#000000',
  },
}
SCSS
$custom: #9d249d;
$custom-light: #be6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d249d",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 300,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.20338,
    "h": 328.1
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#9D249D
secondary
#5DC05D
accent
#E64242
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D249D

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

Preview Lab → · Contrast checker → · Palette generator →

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