#7D30A4#7D30A4

#7D30A4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.183 H 311.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7D30A4
RGBrgb(125, 48, 164)
HSLhsl(280, 55%, 42%)
HSVhsv(280, 71%, 64%)
CMYKcmyk(23.8%, 70.7%, 0%, 35.7%)
CIE-LABlab(36.28, 51.96, -48.19)
CIE-LCHlch(36.28, 70.87, 317.15°)
OKLaboklab(47.36% 0.1219 -0.1361)
OKLCHoklch(47.36% 0.183 311.8)
XYZxyz(16.2140, 9.1546, 36.0277)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30A4 #57A430
analogous
#4330A4 #7D30A4 #A43091
triadic
#7D30A4 #A47D30 #30A47D
tetradic
#7D30A4 #A44330 #57A430 #3091A4
square
#7D30A4 #A44330 #57A430 #3091A4
split-complementary
#7D30A4 #91A430 #30A443
monochromatic
#351445 #592275 #7D30A4 #9E48C9 #B777D7

Accessibility & contrast

On white

7.42
#7D30A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7D30A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30A4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30A4#FFFFFF#000000##FFFFFF
##7D30A41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#2257A1
Tritanopia (blue-blind)
#784966
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d30a4;
/* rgb */ color: rgb(125, 48, 164);
/* oklch */ color: oklch(47.4% 0.183 311.8);
Tailwind
colors: {
  custom: {
    50: '#a66fc0',
    500: '#7d30a4',
    950: '#000000',
  },
}
SCSS
$custom: #7d30a4;
$custom-light: #a66fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30a4",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 279.828,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47361,
    "c": 0.18273,
    "h": 311.8
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#7D30A4
secondary
#8BBF70
accent
#DE4A7C
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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