#7D3AC8#7D3AC8

#7D3AC8 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.208 H 300.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7D3AC8
RGBrgb(125, 58, 200)
HSLhsl(268, 56%, 51%)
HSVhsv(268, 71%, 78%)
CMYKcmyk(37.5%, 71%, 0%, 21.6%)
CIE-LABlab(40.50, 55.79, -62.62)
CIE-LCHlch(40.50, 83.87, 311.70°)
OKLaboklab(51.19% 0.1062 -0.1786)
OKLCHoklch(51.19% 0.208 300.7)
XYZxyz(20.3933, 11.5561, 55.7885)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AC8 #85C83A
analogous
#3A3EC8 #7D3AC8 #C43AC8
triadic
#7D3AC8 #C87D3A #3AC87D
tetradic
#7D3AC8 #C83A3E #85C83A #3AC8C4
square
#7D3AC8 #C83A3E #85C83A #3AC8C4
split-complementary
#7D3AC8 #C8C43A #3EC83A
monochromatic
#421E6A #5F2B9A #7D3AC8 #9D6AD5 #BC9AE3

Accessibility & contrast

On white

6.34
#7D3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7D3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AC8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AC8#FFFFFF#000000##FFFFFF
##7D3AC81.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#6C5D7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3ac8;
/* rgb */ color: rgb(125, 58, 200);
/* oklch */ color: oklch(51.2% 0.208 300.7);
Tailwind
colors: {
  custom: {
    50: '#a976da',
    500: '#7d3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ac8;
$custom-light: #a976da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ac8",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 268.31,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.20778,
    "h": 300.7
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#7D3AC8
secondary
#B1CE8F
accent
#E04898
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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