#7D1EAC#7D1EAC

#7D1EAC is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.3% C 0.209 H 310.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7D1EAC
RGBrgb(125, 30, 172)
HSLhsl(280, 70%, 40%)
HSVhsv(280, 83%, 67%)
CMYKcmyk(27.3%, 82.6%, 0%, 32.5%)
CIE-LABlab(34.53, 60.35, -55.82)
CIE-LCHlch(34.53, 82.21, 317.23°)
OKLaboklab(46.31% 0.1365 -0.1584)
OKLCHoklch(46.31% 0.209 310.8)
XYZxyz(16.3667, 8.2675, 39.7553)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1EAC #4DAC1E
analogous
#361EAC #7D1EAC #AC1E94
triadic
#7D1EAC #AC7D1E #1EAC7D
tetradic
#7D1EAC #AC361E #4DAC1E #1E94AC
square
#7D1EAC #AC361E #4DAC1E #1E94AC
split-complementary
#7D1EAC #94AC1E #1EAC36
monochromatic
#310C44 #571578 #7D1EAC #A12DDA #B861E3

Accessibility & contrast

On white

7.91
#7D1EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D1EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1EAC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1EAC#FFFFFF#000000##FFFFFF
##7D1EAC1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#764367
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d1eac;
/* rgb */ color: rgb(125, 30, 172);
/* oklch */ color: oklch(46.3% 0.209 310.8);
Tailwind
colors: {
  custom: {
    50: '#a867c6',
    500: '#7d1eac',
    950: '#000000',
  },
}
SCSS
$custom: #7d1eac;
$custom-light: #a867c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1eac",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 172
  },
  "hsl": {
    "h": 280.141,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46314,
    "c": 0.20913,
    "h": 310.8
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#7D1EAC
secondary
#81C85E
accent
#ED3B76
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D1EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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