#7D30CA#7D30CA

#7D30CA is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.3% C 0.221 H 301.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7D30CA
RGBrgb(125, 48, 202)
HSLhsl(270, 62%, 49%)
HSVhsv(270, 76%, 79%)
CMYKcmyk(38.1%, 76.2%, 0%, 20.8%)
CIE-LABlab(39.14, 60.59, -66.01)
CIE-LCHlch(39.14, 89.60, 312.55°)
OKLaboklab(50.28% 0.1148 -0.1885)
OKLCHoklch(50.28% 0.221 301.4)
XYZxyz(20.1725, 10.7380, 56.8755)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30CA #7DCA30
analogous
#3030CA #7D30CA #CA30CA
triadic
#7D30CA #CA7D30 #30CA7D
tetradic
#7D30CA #CA3030 #7DCA30 #30CACA
square
#7D30CA #CA3030 #7DCA30 #30CACA
split-complementary
#7D30CA #CACA30 #30CA30
monochromatic
#401867 #5E2499 #7D30CA #9C5ED9 #BA90E5

Accessibility & contrast

On white

6.67
#7D30CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7D30CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D30CA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30CA#FFFFFF#000000##FFFFFF
##7D30CA1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#6C587C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d30ca;
/* rgb */ color: rgb(125, 48, 202);
/* oklch */ color: oklch(50.3% 0.221 301.4);
Tailwind
colors: {
  custom: {
    50: '#a971db',
    500: '#7d30ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d30ca;
$custom-light: #a971db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30ca",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 202
  },
  "hsl": {
    "h": 270,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50275,
    "c": 0.2207,
    "h": 301.4
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#7D30CA
secondary
#ABCF87
accent
#E54394
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D30CA

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

Preview Lab → · Contrast checker → · Palette generator →

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