#7D3AC7#7D3AC7

#7D3AC7 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.207 H 301.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7D3AC7
RGBrgb(125, 58, 199)
HSLhsl(269, 56%, 50%)
HSVhsv(269, 71%, 78%)
CMYKcmyk(37.2%, 70.9%, 0%, 22%)
CIE-LABlab(40.43, 55.55, -62.16)
CIE-LCHlch(40.43, 83.37, 311.78°)
OKLaboklab(51.11% 0.1064 -0.1772)
OKLCHoklch(51.11% 0.207 301)
XYZxyz(20.2768, 11.5095, 55.1750)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AC7 #84C73A
analogous
#3A3DC7 #7D3AC7 #C43AC7
triadic
#7D3AC7 #C77D3A #3AC77D
tetradic
#7D3AC7 #C73A3D #84C73A #3AC7C4
square
#7D3AC7 #C73A3D #84C73A #3AC7C4
split-complementary
#7D3AC7 #C7C43A #3DC73A
monochromatic
#411E69 #5F2B98 #7D3AC7 #9C6AD5 #BC99E2

Accessibility & contrast

On white

6.36
#7D3AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7D3AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AC7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AC7#FFFFFF#000000##FFFFFF
##7D3AC71.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#6D5C7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3ac7;
/* rgb */ color: rgb(125, 58, 199);
/* oklch */ color: oklch(51.1% 0.207 301.0);
Tailwind
colors: {
  custom: {
    50: '#a976d9',
    500: '#7d3ac7',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ac7;
$custom-light: #a976d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ac7",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 268.511,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51112,
    "c": 0.20671,
    "h": 301
  },
  "luminance": 0.1151
}

Semantic roles & 50–950 ramp

primary
#7D3AC7
secondary
#B0CE8F
accent
#DF4998
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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