#7D30CE#7D30CE

#7D30CE is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.6% C 0.225 H 300.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7D30CE
RGBrgb(125, 48, 206)
HSLhsl(269, 62%, 50%)
HSVhsv(269, 77%, 81%)
CMYKcmyk(39.3%, 76.7%, 0%, 19.2%)
CIE-LABlab(39.46, 61.53, -67.80)
CIE-LCHlch(39.46, 91.56, 312.23°)
OKLaboklab(50.61% 0.1138 -0.1937)
OKLCHoklch(50.61% 0.225 300.4)
XYZxyz(20.6522, 10.9299, 59.4022)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30CE #81CE30
analogous
#3032CE #7D30CE #CC30CE
triadic
#7D30CE #CE7D30 #30CE7D
tetradic
#7D30CE #CE3032 #81CE30 #30CECC
square
#7D30CE #CE3032 #81CE30 #30CECC
split-complementary
#7D30CE #CECC30 #32CE30
monochromatic
#41196B #5F249C #7D30CE #9C61DA #BB93E6

Accessibility & contrast

On white

6.59
#7D30CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7D30CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D30CE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30CE#FFFFFF#000000##FFFFFF
##7D30CE1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#6A5A7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d30ce;
/* rgb */ color: rgb(125, 48, 206);
/* oklch */ color: oklch(50.6% 0.225 300.4);
Tailwind
colors: {
  custom: {
    50: '#aa71de',
    500: '#7d30ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d30ce;
$custom-light: #aa71de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30ce",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 206
  },
  "hsl": {
    "h": 269.241,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50605,
    "c": 0.22469,
    "h": 300.4
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#7D30CE
secondary
#AED189
accent
#E54396
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D30CE

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

Preview Lab → · Contrast checker → · Palette generator →

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