#7D30C7#7D30C7

#7D30C7 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.218 H 302.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7D30C7
RGBrgb(125, 48, 199)
HSLhsl(271, 61%, 48%)
HSVhsv(271, 76%, 78%)
CMYKcmyk(37.2%, 75.9%, 0%, 22%)
CIE-LABlab(38.89, 59.89, -64.66)
CIE-LCHlch(38.89, 88.14, 312.81°)
OKLaboklab(50.03% 0.1156 -0.1845)
OKLCHoklch(50.03% 0.218 302.1)
XYZxyz(19.8207, 10.5973, 55.0230)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30C7 #7AC730
analogous
#3130C7 #7D30C7 #C730C5
triadic
#7D30C7 #C77D30 #30C77D
tetradic
#7D30C7 #C73130 #7AC730 #30C5C7
square
#7D30C7 #C73130 #7AC730 #30C5C7
split-complementary
#7D30C7 #C5C730 #30C731
monochromatic
#3F1864 #5E2496 #7D30C7 #9B5CD8 #BA8EE4

Accessibility & contrast

On white

6.73
#7D30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7D30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D30C7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30C7#FFFFFF#000000##FFFFFF
##7D30C71.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#6D577A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d30c7;
/* rgb */ color: rgb(125, 48, 199);
/* oklch */ color: oklch(50.0% 0.218 302.1);
Tailwind
colors: {
  custom: {
    50: '#a970d9',
    500: '#7d30c7',
    950: '#000000',
  },
}
SCSS
$custom: #7d30c7;
$custom-light: #a970d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30c7",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 270.596,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.21771,
    "h": 302.1
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#7D30C7
secondary
#A9CE85
accent
#E44492
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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