#7D30C8#7D30C8

#7D30C8 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.1% C 0.219 H 301.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7D30C8
RGBrgb(125, 48, 200)
HSLhsl(270, 61%, 49%)
HSVhsv(270, 76%, 78%)
CMYKcmyk(37.5%, 76%, 0%, 21.6%)
CIE-LABlab(38.97, 60.13, -65.11)
CIE-LCHlch(38.97, 88.63, 312.72°)
OKLaboklab(50.11% 0.1153 -0.1858)
OKLCHoklch(50.11% 0.219 301.8)
XYZxyz(19.9372, 10.6439, 55.6365)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30C8 #7BC830
analogous
#3130C8 #7D30C8 #C830C7
triadic
#7D30C8 #C87D30 #30C87D
tetradic
#7D30C8 #C83130 #7BC830 #30C7C8
square
#7D30C8 #C83130 #7BC830 #30C7C8
split-complementary
#7D30C8 #C7C830 #30C831
monochromatic
#3F1865 #5E2497 #7D30C8 #9B5DD8 #BA8EE4

Accessibility & contrast

On white

6.71
#7D30C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7D30C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D30C8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30C8#FFFFFF#000000##FFFFFF
##7D30C81.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#6D587B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d30c8;
/* rgb */ color: rgb(125, 48, 200);
/* oklch */ color: oklch(50.1% 0.219 301.8);
Tailwind
colors: {
  custom: {
    50: '#a971da',
    500: '#7d30c8',
    950: '#000000',
  },
}
SCSS
$custom: #7d30c8;
$custom-light: #a971da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30c8",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 200
  },
  "hsl": {
    "h": 270.395,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50111,
    "c": 0.21871,
    "h": 301.8
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#7D30C8
secondary
#A9CE85
accent
#E44393
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D30C8

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

Preview Lab → · Contrast checker → · Palette generator →

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