#7D30AF#7D30AF

#7D30AF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.2% C 0.194 H 308.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7D30AF
RGBrgb(125, 48, 175)
HSLhsl(276, 57%, 44%)
HSVhsv(276, 73%, 69%)
CMYKcmyk(28.6%, 72.6%, 0%, 31.4%)
CIE-LABlab(37.06, 54.39, -53.51)
CIE-LCHlch(37.06, 76.30, 315.47°)
OKLaboklab(48.16% 0.1204 -0.1518)
OKLCHoklch(48.16% 0.194 308.4)
XYZxyz(17.2507, 9.5693, 41.4874)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30AF #62AF30
analogous
#3D30AF #7D30AF #AF30A1
triadic
#7D30AF #AF7D30 #30AF7D
tetradic
#7D30AF #AF3D30 #62AF30 #30A1AF
square
#7D30AF #AF3D30 #62AF30 #30A1AF
split-complementary
#7D30AF #A1AF30 #30AF3D
monochromatic
#38164F #5B237F #7D30AF #9C4ECE #B77EDC

Accessibility & contrast

On white

7.21
#7D30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7D30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30AF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30AF#FFFFFF#000000##FFFFFF
##7D30AF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0A58AC
Tritanopia (blue-blind)
#754D6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d30af;
/* rgb */ color: rgb(125, 48, 175);
/* oklch */ color: oklch(48.2% 0.194 308.4);
Tailwind
colors: {
  custom: {
    50: '#a76fc8',
    500: '#7d30af',
    950: '#000000',
  },
}
SCSS
$custom: #7d30af;
$custom-light: #a76fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30af",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 276.378,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4816,
    "c": 0.19371,
    "h": 308.4
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#7D30AF
secondary
#95C476
accent
#E04884
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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