#7D30A8#7D30A8

#7D30A8 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.187 H 310.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7D30A8
RGBrgb(125, 48, 168)
HSLhsl(279, 56%, 42%)
HSVhsv(279, 71%, 66%)
CMYKcmyk(25.6%, 71.4%, 0%, 34.1%)
CIE-LABlab(36.56, 52.83, -50.14)
CIE-LCHlch(36.56, 72.84, 316.50°)
OKLaboklab(47.65% 0.1214 -0.1419)
OKLCHoklch(47.65% 0.187 310.6)
XYZxyz(16.5809, 9.3014, 37.9601)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30A8 #5BA830
analogous
#4130A8 #7D30A8 #A83097
triadic
#7D30A8 #A87D30 #30A87D
tetradic
#7D30A8 #A84130 #5BA830 #3097A8
square
#7D30A8 #A84130 #5BA830 #3097A8
split-complementary
#7D30A8 #97A830 #30A841
monochromatic
#361549 #5A2278 #7D30A8 #9D4ACB #B77AD9

Accessibility & contrast

On white

7.34
#7D30A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7D30A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30A8
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30A8#FFFFFF#000000##FFFFFF
##7D30A81.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#1C57A5
Tritanopia (blue-blind)
#774A69
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d30a8;
/* rgb */ color: rgb(125, 48, 168);
/* oklch */ color: oklch(47.6% 0.187 310.6);
Tailwind
colors: {
  custom: {
    50: '#a76fc3',
    500: '#7d30a8',
    950: '#000000',
  },
}
SCSS
$custom: #7d30a8;
$custom-light: #a76fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30a8",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 278.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47647,
    "c": 0.18672,
    "h": 310.6
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#7D30A8
secondary
#8FC173
accent
#DF497F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D30A8

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

Preview Lab → · Contrast checker → · Palette generator →

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