#7D2EA3#7D2EA3

#7D2EA3 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.184 H 312.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7D2EA3
RGBrgb(125, 46, 163)
HSLhsl(281, 56%, 41%)
HSVhsv(281, 72%, 64%)
CMYKcmyk(23.3%, 71.8%, 0%, 36.1%)
CIE-LABlab(35.90, 52.60, -48.20)
CIE-LCHlch(35.90, 71.34, 317.50°)
OKLaboklab(47.07% 0.1241 -0.1361)
OKLCHoklch(47.07% 0.184 312.4)
XYZxyz(16.0441, 8.9588, 35.5273)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EA3 #54A32E
analogous
#422EA3 #7D2EA3 #A32E8E
triadic
#7D2EA3 #A37D2E #2EA37D
tetradic
#7D2EA3 #A3422E #54A32E #2E8EA3
square
#7D2EA3 #A3422E #54A32E #2E8EA3
split-complementary
#7D2EA3 #8EA32E #2EA342
monochromatic
#341344 #582173 #7D2EA3 #9F44CA #B774D8

Accessibility & contrast

On white

7.52
#7D2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7D2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2EA3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EA3#FFFFFF#000000##FFFFFF
##7D2EA31.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#2156A0
Tritanopia (blue-blind)
#794765
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d2ea3;
/* rgb */ color: rgb(125, 46, 163);
/* oklch */ color: oklch(47.1% 0.184 312.4);
Tailwind
colors: {
  custom: {
    50: '#a76ebf',
    500: '#7d2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ea3;
$custom-light: #a76ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ea3",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 280.513,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47071,
    "c": 0.18423,
    "h": 312.4
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#7D2EA3
secondary
#88BF6D
accent
#DF4979
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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