#7D2FA3#7D2FA3

#7D2FA3 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.183 H 312.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7D2FA3
RGBrgb(125, 47, 163)
HSLhsl(280, 55%, 41%)
HSVhsv(280, 71%, 64%)
CMYKcmyk(23.3%, 71.2%, 0%, 36.1%)
CIE-LABlab(36.06, 52.17, -47.95)
CIE-LCHlch(36.06, 70.86, 317.41°)
OKLaboklab(47.18% 0.1231 -0.1354)
OKLCHoklch(47.18% 0.183 312.3)
XYZxyz(16.0836, 9.0378, 35.5404)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FA3 #55A32F
analogous
#432FA3 #7D2FA3 #A32F8F
triadic
#7D2FA3 #A37D2F #2FA37D
tetradic
#7D2FA3 #A3432F #55A32F #2F8FA3
square
#7D2FA3 #A3432F #55A32F #2F8FA3
split-complementary
#7D2FA3 #8FA32F #2FA343
monochromatic
#341444 #592173 #7D2FA3 #9E46CA #B775D7

Accessibility & contrast

On white

7.48
#7D2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2FA3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FA3#FFFFFF#000000##FFFFFF
##7D2FA31.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#2256A0
Tritanopia (blue-blind)
#794866
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2fa3;
/* rgb */ color: rgb(125, 47, 163);
/* oklch */ color: oklch(47.2% 0.183 312.3);
Tailwind
colors: {
  custom: {
    50: '#a66ebf',
    500: '#7d2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fa3;
$custom-light: #a66ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fa3",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 280.345,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47179,
    "c": 0.18299,
    "h": 312.3
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#7D2FA3
secondary
#89BF6F
accent
#DF497A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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