#7D1EA0#7D1EA0

#7D1EA0 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.4% C 0.199 H 314.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7D1EA0
RGBrgb(125, 30, 160)
HSLhsl(284, 68%, 37%)
HSVhsv(284, 81%, 63%)
CMYKcmyk(21.9%, 81.3%, 0%, 37.3%)
CIE-LABlab(33.62, 57.91, -50.08)
CIE-LCHlch(33.62, 76.56, 319.15°)
OKLaboklab(45.39% 0.1393 -0.1415)
OKLCHoklch(45.39% 0.199 314.5)
XYZxyz(15.2658, 7.8271, 33.9575)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1EA0 #41A01E
analogous
#3C1EA0 #7D1EA0 #A01E82
triadic
#7D1EA0 #A07D1E #1EA07D
tetradic
#7D1EA0 #A03C1E #41A01E #1E82A0
square
#7D1EA0 #A03C1E #41A01E #1E82A0
split-complementary
#7D1EA0 #82A01E #1EA03C
monochromatic
#2C0B39 #55146C #7D1EA0 #A528D4 #BB59E0

Accessibility & contrast

On white

8.19
#7D1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7D1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1EA0
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1EA0#FFFFFF#000000##FFFFFF
##7D1EA01.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#13519D
Tritanopia (blue-blind)
#7A3E60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d1ea0;
/* rgb */ color: rgb(125, 30, 160);
/* oklch */ color: oklch(45.4% 0.199 314.5);
Tailwind
colors: {
  custom: {
    50: '#a767bd',
    500: '#7d1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #7d1ea0;
$custom-light: #a767bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1ea0",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 283.846,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45388,
    "c": 0.19858,
    "h": 314.5
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#7D1EA0
secondary
#74C456
accent
#EB3D6C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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