#7D3ADC#7D3ADC

#7D3ADC is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.229 H 296.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7D3ADC
RGBrgb(125, 58, 220)
HSLhsl(265, 70%, 55%)
HSVhsv(265, 74%, 86%)
CMYKcmyk(43.2%, 73.6%, 0%, 13.7%)
CIE-LABlab(42.08, 60.71, -71.58)
CIE-LCHlch(42.08, 93.85, 310.30°)
OKLaboklab(52.8% 0.1021 -0.2049)
OKLCHoklch(52.8% 0.229 296.5)
XYZxyz(22.8854, 12.5529, 68.9135)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ADC #99DC3A
analogous
#3A48DC #7D3ADC #CE3ADC
triadic
#7D3ADC #DC7D3A #3ADC7D
tetradic
#7D3ADC #DC3A48 #99DC3A #3ADCCE
square
#7D3ADC #DC3A48 #99DC3A #3ADCCE
split-complementary
#7D3ADC #DCCE3A #48DC3A
monochromatic
#441784 #5F21B8 #7D3ADC #9F6EE5 #C2A2EE

Accessibility & contrast

On white

5.98
#7D3ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7D3ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ADC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ADC#FFFFFF#000000##FFFFFF
##7D3ADC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#646588
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d3adc;
/* rgb */ color: rgb(125, 58, 220);
/* oklch */ color: oklch(52.8% 0.229 296.5);
Tailwind
colors: {
  custom: {
    50: '#ab77e8',
    500: '#7d3adc',
    950: '#000000',
  },
}
SCSS
$custom: #7d3adc;
$custom-light: #ab77e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3adc",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 220
  },
  "hsl": {
    "h": 264.815,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.2289,
    "h": 296.5
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#7D3ADC
secondary
#BFDB97
accent
#ED3BA3
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7D3ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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