#7D1EA7#7D1EA7

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

Color values

HEX#7D1EA7
RGBrgb(125, 30, 167)
HSLhsl(282, 70%, 39%)
HSVhsv(282, 82%, 65%)
CMYKcmyk(25.1%, 82%, 0%, 34.5%)
CIE-LABlab(34.15, 59.32, -53.45)
CIE-LCHlch(34.15, 79.85, 317.98°)
OKLaboklab(45.92% 0.1378 -0.1514)
OKLCHoklch(45.92% 0.205 312.3)
XYZxyz(15.8955, 8.0790, 37.2738)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1EA7 #48A71E
analogous
#381EA7 #7D1EA7 #A71E8C
triadic
#7D1EA7 #A77D1E #1EA77D
tetradic
#7D1EA7 #A7381E #48A71E #1E8CA7
square
#7D1EA7 #A7381E #48A71E #1E8CA7
split-complementary
#7D1EA7 #8CA71E #1EA738
monochromatic
#2F0B3F #561573 #7D1EA7 #A32AD9 #B95DE2

Accessibility & contrast

On white

8.03
#7D1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1EA7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1EA7#FFFFFF#000000##FFFFFF
##7D1EA71.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#784164
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d1ea7;
/* rgb */ color: rgb(125, 30, 167);
/* oklch */ color: oklch(45.9% 0.205 312.3);
Tailwind
colors: {
  custom: {
    50: '#a867c2',
    500: '#7d1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #7d1ea7;
$custom-light: #a867c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1ea7",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 281.606,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.20472,
    "h": 312.3
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#7D1EA7
secondary
#7CC65B
accent
#EC3B72
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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