#7D30A6#7D30A6

#7D30A6 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.185 H 311.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7D30A6
RGBrgb(125, 48, 166)
HSLhsl(279, 55%, 42%)
HSVhsv(279, 71%, 65%)
CMYKcmyk(24.7%, 71.1%, 0%, 34.9%)
CIE-LABlab(36.42, 52.39, -49.17)
CIE-LCHlch(36.42, 71.85, 316.82°)
OKLaboklab(47.5% 0.1217 -0.139)
OKLCHoklch(47.5% 0.185 311.2)
XYZxyz(16.3960, 9.2275, 36.9864)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30A6 #59A630
analogous
#4230A6 #7D30A6 #A63094
triadic
#7D30A6 #A67D30 #30A67D
tetradic
#7D30A6 #A64230 #59A630 #3094A6
square
#7D30A6 #A64230 #59A630 #3094A6
split-complementary
#7D30A6 #94A630 #30A642
monochromatic
#361547 #592277 #7D30A6 #9D49CA #B778D8

Accessibility & contrast

On white

7.38
#7D30A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7D30A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30A6
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30A6#FFFFFF#000000##FFFFFF
##7D30A61.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#1F57A3
Tritanopia (blue-blind)
#784A68
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d30a6;
/* rgb */ color: rgb(125, 48, 166);
/* oklch */ color: oklch(47.5% 0.185 311.2);
Tailwind
colors: {
  custom: {
    50: '#a76fc1',
    500: '#7d30a6',
    950: '#000000',
  },
}
SCSS
$custom: #7d30a6;
$custom-light: #a76fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30a6",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 279.153,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47503,
    "c": 0.18472,
    "h": 311.2
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#7D30A6
secondary
#8DC071
accent
#DE497D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D30A6

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

Preview Lab → · Contrast checker → · Palette generator →

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