#7D30A3#7D30A3

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

Color values

HEX#7D30A3
RGBrgb(125, 48, 163)
HSLhsl(280, 55%, 41%)
HSVhsv(280, 71%, 64%)
CMYKcmyk(23.3%, 70.6%, 0%, 36.1%)
CIE-LABlab(36.21, 51.74, -47.70)
CIE-LCHlch(36.21, 70.37, 317.32°)
OKLaboklab(47.29% 0.122 -0.1347)
OKLCHoklch(47.29% 0.182 312.2)
XYZxyz(16.1241, 9.1187, 35.5539)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30A3 #56A330
analogous
#4430A3 #7D30A3 #A33090
triadic
#7D30A3 #A37D30 #30A37D
tetradic
#7D30A3 #A34430 #56A330 #3090A3
square
#7D30A3 #A34430 #56A330 #3090A3
split-complementary
#7D30A3 #90A330 #30A344
monochromatic
#341444 #592274 #7D30A3 #9E47C9 #B777D7

Accessibility & contrast

On white

7.44
#7D30A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7D30A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30A3
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30A3#FFFFFF#000000##FFFFFF
##7D30A31.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d30a3;
/* rgb */ color: rgb(125, 48, 163);
/* oklch */ color: oklch(47.3% 0.182 312.2);
Tailwind
colors: {
  custom: {
    50: '#a66fbf',
    500: '#7d30a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d30a3;
$custom-light: #a66fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30a3",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 280.174,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4729,
    "c": 0.18173,
    "h": 312.2
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#7D30A3
secondary
#8ABF70
accent
#DE4A7B
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D30A3

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

Preview Lab → · Contrast checker → · Palette generator →

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