#7D3AC2#7D3AC2

#7D3AC2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.201 H 302.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7D3AC2
RGBrgb(125, 58, 194)
HSLhsl(270, 54%, 49%)
HSVhsv(270, 70%, 76%)
CMYKcmyk(35.6%, 70.1%, 0%, 23.9%)
CIE-LABlab(40.05, 54.34, -59.86)
CIE-LCHlch(40.05, 80.84, 312.23°)
OKLaboklab(50.73% 0.1072 -0.1705)
OKLCHoklch(50.73% 0.201 302.2)
XYZxyz(19.7058, 11.2811, 52.1678)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AC2 #7FC23A
analogous
#3A3BC2 #7D3AC2 #C13AC2
triadic
#7D3AC2 #C27D3A #3AC27D
tetradic
#7D3AC2 #C23A3B #7FC23A #3AC2C1
square
#7D3AC2 #C23A3B #7FC23A #3AC2C1
split-complementary
#7D3AC2 #C2C13A #3BC23A
monochromatic
#401E64 #5F2C93 #7D3AC2 #9C67D2 #BB97E0

Accessibility & contrast

On white

6.45
#7D3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7D3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AC2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AC2#FFFFFF#000000##FFFFFF
##7D3AC21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#6F5A7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3ac2;
/* rgb */ color: rgb(125, 58, 194);
/* oklch */ color: oklch(50.7% 0.201 302.2);
Tailwind
colors: {
  custom: {
    50: '#a876d5',
    500: '#7d3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ac2;
$custom-light: #a876d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ac2",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 269.559,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50727,
    "c": 0.20139,
    "h": 302.2
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#7D3AC2
secondary
#ACCB8D
accent
#DD4A95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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