#7D3AC0#7D3AC0

#7D3AC0 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.199 H 302.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7D3AC0
RGBrgb(125, 58, 192)
HSLhsl(270, 54%, 49%)
HSVhsv(270, 70%, 75%)
CMYKcmyk(34.9%, 69.8%, 0%, 24.7%)
CIE-LABlab(39.90, 53.85, -58.93)
CIE-LCHlch(39.90, 79.83, 312.42°)
OKLaboklab(50.58% 0.1075 -0.1677)
OKLCHoklch(50.58% 0.199 302.7)
XYZxyz(19.4827, 11.1918, 50.9928)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AC0 #7DC03A
analogous
#3A3AC0 #7D3AC0 #C03AC0
triadic
#7D3AC0 #C07D3A #3AC07D
tetradic
#7D3AC0 #C03A3A #7DC03A #3AC0C0
square
#7D3AC0 #C03A3A #7DC03A #3AC0C0
split-complementary
#7D3AC0 #C0C03A #3AC03A
monochromatic
#401E62 #5E2C91 #7D3AC0 #9C66D1 #BA95DF

Accessibility & contrast

On white

6.48
#7D3AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7D3AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AC0
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AC0#FFFFFF#000000##FFFFFF
##7D3AC01.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#6F5A79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3ac0;
/* rgb */ color: rgb(125, 58, 192);
/* oklch */ color: oklch(50.6% 0.199 302.7);
Tailwind
colors: {
  custom: {
    50: '#a875d4',
    500: '#7d3ac0',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ac0;
$custom-light: #a875d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ac0",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 270,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50575,
    "c": 0.19925,
    "h": 302.7
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#7D3AC0
secondary
#ABCA8B
accent
#DD4B94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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