#7D2FA0#7D2FA0

#7D2FA0 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.180 H 313.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7D2FA0
RGBrgb(125, 47, 160)
HSLhsl(281, 55%, 41%)
HSVhsv(281, 71%, 63%)
CMYKcmyk(21.9%, 70.6%, 0%, 37.3%)
CIE-LABlab(35.85, 51.53, -46.47)
CIE-LCHlch(35.85, 69.39, 317.95°)
OKLaboklab(46.97% 0.1234 -0.1311)
OKLCHoklch(46.97% 0.18 313.3)
XYZxyz(15.8180, 8.9315, 34.1416)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FA0 #52A02F
analogous
#442FA0 #7D2FA0 #A02F8A
triadic
#7D2FA0 #A07D2F #2FA07D
tetradic
#7D2FA0 #A0442F #52A02F #2F8AA0
square
#7D2FA0 #A0442F #52A02F #2F8AA0
split-complementary
#7D2FA0 #8AA02F #2FA044
monochromatic
#331341 #582171 #7D2FA0 #9F44C8 #B773D6

Accessibility & contrast

On white

7.54
#7D2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2FA0
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FA0#FFFFFF#000000##FFFFFF
##7D2FA01.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#26569D
Tritanopia (blue-blind)
#794764
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d2fa0;
/* rgb */ color: rgb(125, 47, 160);
/* oklch */ color: oklch(47.0% 0.180 313.3);
Tailwind
colors: {
  custom: {
    50: '#a66ebd',
    500: '#7d2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fa0;
$custom-light: #a66ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fa0",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 281.416,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46968,
    "c": 0.18002,
    "h": 313.3
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#7D2FA0
secondary
#86BE6D
accent
#DE4A78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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