#7D2EA4#7D2EA4

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

Color values

HEX#7D2EA4
RGBrgb(125, 46, 164)
HSLhsl(280, 56%, 41%)
HSVhsv(280, 72%, 64%)
CMYKcmyk(23.8%, 72%, 0%, 35.7%)
CIE-LABlab(35.97, 52.82, -48.69)
CIE-LCHlch(35.97, 71.84, 317.33°)
OKLaboklab(47.14% 0.124 -0.1376)
OKLCHoklch(47.14% 0.185 312)
XYZxyz(16.1341, 8.9947, 36.0010)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EA4 #55A42E
analogous
#422EA4 #7D2EA4 #A42E90
triadic
#7D2EA4 #A47D2E #2EA47D
tetradic
#7D2EA4 #A4422E #55A42E #2E90A4
square
#7D2EA4 #A4422E #55A42E #2E90A4
split-complementary
#7D2EA4 #90A42E #2EA442
monochromatic
#341344 #592174 #7D2EA4 #9E45CB #B774D8

Accessibility & contrast

On white

7.50
#7D2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7D2EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2EA4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EA4#FFFFFF#000000##FFFFFF
##7D2EA41.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#2056A1
Tritanopia (blue-blind)
#784866
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2ea4;
/* rgb */ color: rgb(125, 46, 164);
/* oklch */ color: oklch(47.1% 0.185 312.0);
Tailwind
colors: {
  custom: {
    50: '#a76ec0',
    500: '#7d2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ea4;
$custom-light: #a76ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ea4",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 280.169,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47142,
    "c": 0.18521,
    "h": 312
  },
  "luminance": 0.08994
}

Semantic roles & 50–950 ramp

primary
#7D2EA4
secondary
#89C06E
accent
#DF487A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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