#9D2CA1#9D2CA1

#9D2CA1 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.198 H 326.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9D2CA1
RGBrgb(157, 44, 161)
HSLhsl(298, 57%, 40%)
HSVhsv(298, 73%, 63%)
CMYKcmyk(2.5%, 72.7%, 0%, 36.9%)
CIE-LABlab(40.48, 59.95, -39.39)
CIE-LCHlch(40.48, 71.73, 326.70°)
OKLaboklab(51.3% 0.1653 -0.1094)
OKLCHoklch(51.3% 0.198 326.5)
XYZxyz(21.2379, 11.5441, 34.8209)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CA1 #30A12C
analogous
#632CA1 #9D2CA1 #A12C6A
triadic
#9D2CA1 #A19D2C #2CA19D
tetradic
#9D2CA1 #A1632C #30A12C #2C6AA1
square
#9D2CA1 #A1632C #30A12C #2C6AA1
split-complementary
#9D2CA1 #6AA12C #2CA163
monochromatic
#3F1241 #6E1F71 #9D2CA1 #C640CB #D470D8

Accessibility & contrast

On white

6.35
#9D2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9D2CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CA1
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CA1#FFFFFF#000000##FFFFFF
##9D2CA11.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#48649E
Tritanopia (blue-blind)
#A13F64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d2ca1;
/* rgb */ color: rgb(157, 44, 161);
/* oklch */ color: oklch(51.3% 0.198 326.5);
Tailwind
colors: {
  custom: {
    50: '#bd71bd',
    500: '#9d2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ca1;
$custom-light: #bd71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ca1",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 297.949,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.19822,
    "h": 326.5
  },
  "luminance": 0.11543
}

Semantic roles & 50–950 ramp

primary
#9D2CA1
secondary
#6DBF6A
accent
#E0474D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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