#7D3AD2#7D3AD2

#7D3AD2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.218 H 298.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7D3AD2
RGBrgb(125, 58, 210)
HSLhsl(266, 63%, 53%)
HSVhsv(266, 72%, 82%)
CMYKcmyk(40.5%, 72.4%, 0%, 17.6%)
CIE-LABlab(41.28, 58.24, -67.15)
CIE-LCHlch(41.28, 88.88, 310.94°)
OKLaboklab(51.98% 0.1043 -0.1919)
OKLCHoklch(51.98% 0.218 298.5)
XYZxyz(21.6004, 12.0389, 62.1460)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AD2 #8FD23A
analogous
#3A43D2 #7D3AD2 #C93AD2
triadic
#7D3AD2 #D27D3A #3AD27D
tetradic
#7D3AD2 #D23A43 #8FD23A #3AD2C9
square
#7D3AD2 #D23A43 #8FD23A #3AD2C9
split-complementary
#7D3AD2 #D2C93A #43D23A
monochromatic
#431B77 #6026A8 #7D3AD2 #9E6CDD #BF9EE9

Accessibility & contrast

On white

6.16
#7D3AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7D3AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AD2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AD2#FFFFFF#000000##FFFFFF
##7D3AD21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#686183
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3ad2;
/* rgb */ color: rgb(125, 58, 210);
/* oklch */ color: oklch(52.0% 0.218 298.5);
Tailwind
colors: {
  custom: {
    50: '#aa76e1',
    500: '#7d3ad2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ad2;
$custom-light: #aa76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ad2",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 266.447,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.21837,
    "h": 298.5
  },
  "luminance": 0.12039
}

Semantic roles & 50–950 ramp

primary
#7D3AD2
secondary
#B8D593
accent
#E6429E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7D3AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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