#7D3ABA#7D3ABA

#7D3ABA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.193 H 304.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7D3ABA
RGBrgb(125, 58, 186)
HSLhsl(271, 52%, 48%)
HSVhsv(271, 69%, 73%)
CMYKcmyk(32.8%, 68.8%, 0%, 27.1%)
CIE-LABlab(39.46, 52.41, -56.12)
CIE-LCHlch(39.46, 76.79, 313.04°)
OKLaboklab(50.13% 0.1084 -0.1595)
OKLCHoklch(50.13% 0.193 304.2)
XYZxyz(18.8314, 10.9313, 47.5627)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ABA #77BA3A
analogous
#3D3ABA #7D3ABA #BA3AB7
triadic
#7D3ABA #BA7D3A #3ABA7D
tetradic
#7D3ABA #BA3D3A #77BA3A #3AB7BA
square
#7D3ABA #BA3D3A #77BA3A #3AB7BA
split-complementary
#7D3ABA #B7BA3A #3ABA3D
monochromatic
#3E1D5D #5E2B8B #7D3ABA #9B63CE #B992DD

Accessibility & contrast

On white

6.59
#7D3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7D3ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ABA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ABA#FFFFFF#000000##FFFFFF
##7D3ABA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#715775
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3aba;
/* rgb */ color: rgb(125, 58, 186);
/* oklch */ color: oklch(50.1% 0.193 304.2);
Tailwind
colors: {
  custom: {
    50: '#a775d0',
    500: '#7d3aba',
    950: '#000000',
  },
}
SCSS
$custom: #7d3aba;
$custom-light: #a775d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3aba",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 271.406,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50125,
    "c": 0.19283,
    "h": 304.2
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#7D3ABA
secondary
#A6C888
accent
#DC4C91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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