#7D2FA4#7D2FA4

#7D2FA4 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.184 H 311.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7D2FA4
RGBrgb(125, 47, 164)
HSLhsl(280, 55%, 41%)
HSVhsv(280, 71%, 64%)
CMYKcmyk(23.8%, 71.3%, 0%, 35.7%)
CIE-LABlab(36.13, 52.39, -48.44)
CIE-LCHlch(36.13, 71.35, 317.24°)
OKLaboklab(47.25% 0.123 -0.1368)
OKLCHoklch(47.25% 0.184 311.9)
XYZxyz(16.1736, 9.0738, 36.0142)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FA4 #56A42F
analogous
#432FA4 #7D2FA4 #A42F91
triadic
#7D2FA4 #A47D2F #2FA47D
tetradic
#7D2FA4 #A4432F #56A42F #2F91A4
square
#7D2FA4 #A4432F #56A42F #2F91A4
split-complementary
#7D2FA4 #91A42F #2FA443
monochromatic
#341445 #592174 #7D2FA4 #9E46CA #B776D8

Accessibility & contrast

On white

7.46
#7D2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7D2FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2FA4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FA4#FFFFFF#000000##FFFFFF
##7D2FA41.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2fa4;
/* rgb */ color: rgb(125, 47, 164);
/* oklch */ color: oklch(47.3% 0.184 311.9);
Tailwind
colors: {
  custom: {
    50: '#a76ec0',
    500: '#7d2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fa4;
$custom-light: #a76ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fa4",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 280,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4725,
    "c": 0.18398,
    "h": 311.9
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#7D2FA4
secondary
#8AC06F
accent
#DF497B
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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