#7D1CA9#7D1CA9

#7D1CA9 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 45.9% C 0.208 H 311.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7D1CA9
RGBrgb(125, 28, 169)
HSLhsl(281, 72%, 39%)
HSVhsv(281, 83%, 66%)
CMYKcmyk(26%, 83.4%, 0%, 33.7%)
CIE-LABlab(34.10, 60.33, -54.73)
CIE-LCHlch(34.10, 81.45, 317.78°)
OKLaboklab(45.94% 0.1387 -0.1552)
OKLCHoklch(45.94% 0.208 311.8)
XYZxyz(16.0328, 8.0555, 38.2387)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1CA9 #48A91C
analogous
#371CA9 #7D1CA9 #A91C8E
triadic
#7D1CA9 #A97D1C #1CA97D
tetradic
#7D1CA9 #A9371C #48A91C #1C8EA9
square
#7D1CA9 #A9371C #48A91C #1C8EA9
split-complementary
#7D1CA9 #8EA91C #1CA937
monochromatic
#2F0B40 #561374 #7D1CA9 #A327DB #B95BE4

Accessibility & contrast

On white

8.04
#7D1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1CA9
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1CA9#FFFFFF#000000##FFFFFF
##7D1CA91.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#774165
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d1ca9;
/* rgb */ color: rgb(125, 28, 169);
/* oklch */ color: oklch(45.9% 0.208 311.8);
Tailwind
colors: {
  custom: {
    50: '#a866c3',
    500: '#7d1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #7d1ca9;
$custom-light: #a866c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1ca9",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 281.277,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45937,
    "c": 0.20813,
    "h": 311.8
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#7D1CA9
secondary
#7CC859
accent
#EE3972
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

#7D1CA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva