#7D30C5#7D30C5

#7D30C5 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.216 H 302.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7D30C5
RGBrgb(125, 48, 197)
HSLhsl(271, 61%, 48%)
HSVhsv(271, 76%, 77%)
CMYKcmyk(36.5%, 75.6%, 0%, 22.7%)
CIE-LABlab(38.73, 59.43, -63.75)
CIE-LCHlch(38.73, 87.15, 312.99°)
OKLaboklab(49.87% 0.116 -0.1819)
OKLCHoklch(49.87% 0.216 302.5)
XYZxyz(19.5900, 10.5051, 53.8081)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30C5 #78C530
analogous
#3330C5 #7D30C5 #C530C2
triadic
#7D30C5 #C57D30 #30C57D
tetradic
#7D30C5 #C53330 #78C530 #30C2C5
square
#7D30C5 #C53330 #78C530 #30C2C5
split-complementary
#7D30C5 #C2C530 #30C533
monochromatic
#3F1863 #5E2494 #7D30C5 #9B5BD7 #B98CE3

Accessibility & contrast

On white

6.77
#7D30C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7D30C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D30C5
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30C5#FFFFFF#000000##FFFFFF
##7D30C51.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#6E5679
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d30c5;
/* rgb */ color: rgb(125, 48, 197);
/* oklch */ color: oklch(49.9% 0.216 302.5);
Tailwind
colors: {
  custom: {
    50: '#a970d8',
    500: '#7d30c5',
    950: '#000000',
  },
}
SCSS
$custom: #7d30c5;
$custom-light: #a970d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30c5",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 271.007,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49868,
    "c": 0.21571,
    "h": 302.5
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#7D30C5
secondary
#A7CD84
accent
#E44491
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #7D30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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