#7D30A5#7D30A5

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

Color values

HEX#7D30A5
RGBrgb(125, 48, 165)
HSLhsl(279, 55%, 42%)
HSVhsv(279, 71%, 65%)
CMYKcmyk(24.2%, 70.9%, 0%, 35.3%)
CIE-LABlab(36.35, 52.18, -48.68)
CIE-LCHlch(36.35, 71.36, 316.98°)
OKLaboklab(47.43% 0.1218 -0.1376)
OKLCHoklch(47.43% 0.184 311.5)
XYZxyz(16.3047, 9.1909, 36.5051)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30A5 #58A530
analogous
#4230A5 #7D30A5 #A53093
triadic
#7D30A5 #A57D30 #30A57D
tetradic
#7D30A5 #A54230 #58A530 #3093A5
square
#7D30A5 #A54230 #58A530 #3093A5
split-complementary
#7D30A5 #93A530 #30A542
monochromatic
#351446 #592276 #7D30A5 #9E48CA #B778D8

Accessibility & contrast

On white

7.40
#7D30A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7D30A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30A5
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30A5#FFFFFF#000000##FFFFFF
##7D30A51.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#2157A2
Tritanopia (blue-blind)
#784967
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d30a5;
/* rgb */ color: rgb(125, 48, 165);
/* oklch */ color: oklch(47.4% 0.184 311.5);
Tailwind
colors: {
  custom: {
    50: '#a76fc0',
    500: '#7d30a5',
    950: '#000000',
  },
}
SCSS
$custom: #7d30a5;
$custom-light: #a76fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30a5",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 279.487,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47432,
    "c": 0.18372,
    "h": 311.5
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D30A5

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

Preview Lab → · Contrast checker → · Palette generator →

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