#7D1CA0#7D1CA0

#7D1CA0 is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.2% C 0.200 H 314.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7D1CA0
RGBrgb(125, 28, 160)
HSLhsl(284, 70%, 37%)
HSVhsv(284, 83%, 63%)
CMYKcmyk(21.9%, 82.5%, 0%, 37.3%)
CIE-LABlab(33.41, 58.51, -50.41)
CIE-LCHlch(33.41, 77.24, 319.25°)
OKLaboklab(45.24% 0.1408 -0.1425)
OKLCHoklch(45.24% 0.2 314.6)
XYZxyz(15.2168, 7.7291, 33.9412)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1CA0 #3FA01C
analogous
#3B1CA0 #7D1CA0 #A01C81
triadic
#7D1CA0 #A07D1C #1CA07D
tetradic
#7D1CA0 #A03B1C #3FA01C #1C81A0
square
#7D1CA0 #A03B1C #3FA01C #1C81A0
split-complementary
#7D1CA0 #81A01C #1CA03B
monochromatic
#2C0A38 #54136C #7D1CA0 #A625D4 #BC55E1

Accessibility & contrast

On white

8.25
#7D1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1CA0
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1CA0#FFFFFF#000000##FFFFFF
##7D1CA01.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#10519D
Tritanopia (blue-blind)
#7A3D60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d1ca0;
/* rgb */ color: rgb(125, 28, 160);
/* oklch */ color: oklch(45.2% 0.200 314.6);
Tailwind
colors: {
  custom: {
    50: '#a766bd',
    500: '#7d1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #7d1ca0;
$custom-light: #a766bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1ca0",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 284.091,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45243,
    "c": 0.20033,
    "h": 314.6
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#7D1CA0
secondary
#71C453
accent
#ED3B6A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7D1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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