#9D28A3#9D28A3

#9D28A3 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.204 H 325.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9D28A3
RGBrgb(157, 40, 163)
HSLhsl(297, 61%, 40%)
HSVhsv(297, 75%, 64%)
CMYKcmyk(3.7%, 75.5%, 0%, 36.1%)
CIE-LABlab(40.13, 61.63, -41.14)
CIE-LCHlch(40.13, 74.10, 326.27°)
OKLaboklab(51.08% 0.169 -0.1144)
OKLCHoklch(51.08% 0.204 325.9)
XYZxyz(21.2738, 11.3315, 35.7099)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D28A3 #2EA328
analogous
#5F28A3 #9D28A3 #A3286C
triadic
#9D28A3 #A39D28 #28A39D
tetradic
#9D28A3 #A35F28 #2EA328 #286CA3
square
#9D28A3 #A35F28 #2EA328 #286CA3
split-complementary
#9D28A3 #6CA328 #28A35F
monochromatic
#3E1041 #6E1C72 #9D28A3 #C73ACF #D56BDB

Accessibility & contrast

On white

6.43
#9D28A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9D28A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D28A3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D28A3#FFFFFF#000000##FFFFFF
##9D28A31.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#4463A0
Tritanopia (blue-blind)
#A13D64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d28a3;
/* rgb */ color: rgb(157, 40, 163);
/* oklch */ color: oklch(51.1% 0.204 325.9);
Tailwind
colors: {
  custom: {
    50: '#be6fbf',
    500: '#9d28a3',
    950: '#000000',
  },
}
SCSS
$custom: #9d28a3;
$custom-light: #be6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d28a3",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 297.073,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.20409,
    "h": 325.9
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#9D28A3
secondary
#6AC166
accent
#E4444C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D28A3

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

Preview Lab → · Contrast checker → · Palette generator →

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