#9D2AC0#9D2AC0

#9D2AC0 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.226 H 316.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9D2AC0
RGBrgb(157, 42, 192)
HSLhsl(286, 64%, 46%)
HSVhsv(286, 78%, 75%)
CMYKcmyk(18.2%, 78.1%, 0%, 24.7%)
CIE-LABlab(42.20, 66.23, -54.99)
CIE-LCHlch(42.20, 86.09, 320.30°)
OKLaboklab(53.14% 0.1644 -0.155)
OKLCHoklch(53.14% 0.226 316.7)
XYZxyz(24.2456, 12.6308, 51.0198)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AC0 #4DC02A
analogous
#522AC0 #9D2AC0 #C02A98
triadic
#9D2AC0 #C09D2A #2AC09D
tetradic
#9D2AC0 #C0522A #4DC02A #2A98C0
square
#9D2AC0 #C0522A #4DC02A #2A98C0
split-complementary
#9D2AC0 #98C02A #2AC052
monochromatic
#4B145C #741F8E #9D2AC0 #B84FD8 #CC81E3

Accessibility & contrast

On white

5.96
#9D2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9D2AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2AC0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2AC0#FFFFFF#000000##FFFFFF
##9D2AC01.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#2A67BD
Tritanopia (blue-blind)
#9B4C75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2ac0;
/* rgb */ color: rgb(157, 42, 192);
/* oklch */ color: oklch(53.1% 0.226 316.7);
Tailwind
colors: {
  custom: {
    50: '#be71d4',
    500: '#9d2ac0',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ac0;
$custom-light: #be71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ac0",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 286,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53138,
    "c": 0.22592,
    "h": 316.7
  },
  "luminance": 0.1263
}

Semantic roles & 50–950 ramp

primary
#9D2AC0
secondary
#8DCC7A
accent
#E74168
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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