#9D28AF#9D28AF

#9D28AF is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.214 H 321.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9D28AF
RGBrgb(157, 40, 175)
HSLhsl(292, 63%, 42%)
HSVhsv(292, 77%, 69%)
CMYKcmyk(10.3%, 77.1%, 0%, 31.4%)
CIE-LABlab(40.87, 63.73, -47.13)
CIE-LCHlch(40.87, 79.26, 323.52°)
OKLaboklab(51.84% 0.1682 -0.1319)
OKLCHoklch(51.84% 0.214 321.9)
XYZxyz(22.4005, 11.7821, 41.6434)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D28AF #3AAF28
analogous
#5A28AF #9D28AF #AF287E
triadic
#9D28AF #AF9D28 #28AF9D
tetradic
#9D28AF #AF5A28 #3AAF28 #287EAF
square
#9D28AF #AF5A28 #3AAF28 #287EAF
split-complementary
#9D28AF #7EAF28 #28AF5A
monochromatic
#44114B #701D7D #9D28AF #C041D4 #D073DF

Accessibility & contrast

On white

6.26
#9D28AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9D28AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D28AF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D28AF#FFFFFF#000000##FFFFFF
##9D28AF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3B65AC
Tritanopia (blue-blind)
#9F436B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d28af;
/* rgb */ color: rgb(157, 40, 175);
/* oklch */ color: oklch(51.8% 0.214 321.9);
Tailwind
colors: {
  custom: {
    50: '#be70c7',
    500: '#9d28af',
    950: '#000000',
  },
}
SCSS
$custom: #9d28af;
$custom-light: #be70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d28af",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 292,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5184,
    "c": 0.21374,
    "h": 321.9
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#9D28AF
secondary
#79C66D
accent
#E64258
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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