#7D3AC5#7D3AC5

#7D3AC5 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.205 H 301.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7D3AC5
RGBrgb(125, 58, 197)
HSLhsl(269, 55%, 50%)
HSVhsv(269, 71%, 77%)
CMYKcmyk(36.5%, 70.6%, 0%, 22.7%)
CIE-LABlab(40.27, 55.06, -61.25)
CIE-LCHlch(40.27, 82.36, 311.96°)
OKLaboklab(50.96% 0.1067 -0.1745)
OKLCHoklch(50.96% 0.205 301.4)
XYZxyz(20.0461, 11.4172, 53.9601)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AC5 #82C53A
analogous
#3A3CC5 #7D3AC5 #C33AC5
triadic
#7D3AC5 #C57D3A #3AC57D
tetradic
#7D3AC5 #C53A3C #82C53A #3AC5C3
square
#7D3AC5 #C53A3C #82C53A #3AC5C3
split-complementary
#7D3AC5 #C5C33A #3CC53A
monochromatic
#411E66 #5F2C96 #7D3AC5 #9C69D3 #BB99E1

Accessibility & contrast

On white

6.40
#7D3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7D3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AC5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AC5#FFFFFF#000000##FFFFFF
##7D3AC51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#6D5B7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3ac5;
/* rgb */ color: rgb(125, 58, 197);
/* oklch */ color: oklch(51.0% 0.205 301.4);
Tailwind
colors: {
  custom: {
    50: '#a876d7',
    500: '#7d3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ac5;
$custom-light: #a876d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ac5",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 268.921,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.20458,
    "h": 301.4
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#7D3AC5
secondary
#AFCD8E
accent
#DE4A97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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