#7D2CA4#7D2CA4

#7D2CA4 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.188 H 312.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7D2CA4
RGBrgb(125, 44, 164)
HSLhsl(281, 58%, 41%)
HSVhsv(281, 73%, 64%)
CMYKcmyk(23.8%, 73.2%, 0%, 35.7%)
CIE-LABlab(35.68, 53.66, -49.16)
CIE-LCHlch(35.68, 72.77, 317.50°)
OKLaboklab(46.93% 0.1261 -0.1389)
OKLCHoklch(46.93% 0.188 312.2)
XYZxyz(16.0577, 8.8421, 35.9756)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CA4 #53A42C
analogous
#412CA4 #7D2CA4 #A42C8F
triadic
#7D2CA4 #A47D2C #2CA47D
tetradic
#7D2CA4 #A4412C #53A42C #2C8FA4
square
#7D2CA4 #A4412C #53A42C #2C8FA4
split-complementary
#7D2CA4 #8FA42C #2CA441
monochromatic
#331243 #581F74 #7D2CA4 #9F41CC #B771D9

Accessibility & contrast

On white

7.59
#7D2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7D2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CA4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CA4#FFFFFF#000000##FFFFFF
##7D2CA41.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#1D56A1
Tritanopia (blue-blind)
#784765
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d2ca4;
/* rgb */ color: rgb(125, 44, 164);
/* oklch */ color: oklch(46.9% 0.188 312.2);
Tailwind
colors: {
  custom: {
    50: '#a76dc0',
    500: '#7d2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ca4;
$custom-light: #a76dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ca4",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 280.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46932,
    "c": 0.18761,
    "h": 312.2
  },
  "luminance": 0.08842
}

Semantic roles & 50–950 ramp

primary
#7D2CA4
secondary
#87C06B
accent
#E14779
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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