#7D1EAD#7D1EAD

#7D1EAD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.210 H 310.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7D1EAD
RGBrgb(125, 30, 173)
HSLhsl(280, 70%, 40%)
HSVhsv(280, 83%, 68%)
CMYKcmyk(27.7%, 82.7%, 0%, 32.2%)
CIE-LABlab(34.61, 60.56, -56.29)
CIE-LCHlch(34.61, 82.68, 317.09°)
OKLaboklab(46.39% 0.1363 -0.1598)
OKLCHoklch(46.39% 0.21 310.5)
XYZxyz(16.4631, 8.3060, 40.2630)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1EAD #4EAD1E
analogous
#361EAD #7D1EAD #AD1E96
triadic
#7D1EAD #AD7D1E #1EAD7D
tetradic
#7D1EAD #AD361E #4EAD1E #1E96AD
square
#7D1EAD #AD361E #4EAD1E #1E96AD
split-complementary
#7D1EAD #96AD1E #1EAD36
monochromatic
#320C45 #571579 #7D1EAD #A12EDB #B862E4

Accessibility & contrast

On white

7.89
#7D1EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7D1EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1EAD
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1EAD#FFFFFF#000000##FFFFFF
##7D1EAD1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#764467
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d1ead;
/* rgb */ color: rgb(125, 30, 173);
/* oklch */ color: oklch(46.4% 0.210 310.5);
Tailwind
colors: {
  custom: {
    50: '#a867c6',
    500: '#7d1ead',
    950: '#000000',
  },
}
SCSS
$custom: #7d1ead;
$custom-light: #a867c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1ead",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 173
  },
  "hsl": {
    "h": 279.86,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.21001,
    "h": 310.5
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#7D1EAD
secondary
#82C85E
accent
#ED3B77
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D1EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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