#9D2EA5#9D2EA5

#9D2EA5 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.199 H 325.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9D2EA5
RGBrgb(157, 46, 165)
HSLhsl(296, 56%, 41%)
HSVhsv(296, 72%, 65%)
CMYKcmyk(4.8%, 72.1%, 0%, 35.3%)
CIE-LABlab(40.96, 59.94, -41.02)
CIE-LCHlch(40.96, 72.64, 325.61°)
OKLaboklab(51.71% 0.1633 -0.1141)
OKLCHoklch(51.71% 0.199 325)
XYZxyz(21.6726, 11.8401, 36.7339)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EA5 #36A52E
analogous
#622EA5 #9D2EA5 #A52E72
triadic
#9D2EA5 #A59D2E #2EA59D
tetradic
#9D2EA5 #A5622E #36A52E #2E72A5
square
#9D2EA5 #A5622E #36A52E #2E72A5
split-complementary
#9D2EA5 #72A52E #2EA562
monochromatic
#421345 #6F2175 #9D2EA5 #C245CB #D275D8

Accessibility & contrast

On white

6.24
#9D2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9D2EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2EA5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2EA5#FFFFFF#000000##FFFFFF
##9D2EA51.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A58A8
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#A04267
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2ea5;
/* rgb */ color: rgb(157, 46, 165);
/* oklch */ color: oklch(51.7% 0.199 325.0);
Tailwind
colors: {
  custom: {
    50: '#bd72c0',
    500: '#9d2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ea5;
$custom-light: #bd72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ea5",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 295.966,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.19922,
    "h": 325
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#9D2EA5
secondary
#74C06F
accent
#E04852
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9D2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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