#7D3AAA#7D3AAA

#7D3AAA is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.176 H 308.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7D3AAA
RGBrgb(125, 58, 170)
HSLhsl(276, 49%, 45%)
HSVhsv(276, 66%, 67%)
CMYKcmyk(26.5%, 65.9%, 0%, 33.3%)
CIE-LABlab(38.36, 48.66, -48.44)
CIE-LCHlch(38.36, 68.66, 315.13°)
OKLaboklab(48.98% 0.1101 -0.1369)
OKLCHoklch(48.98% 0.176 308.8)
XYZxyz(17.2247, 10.2887, 39.1009)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AAA #67AA3A
analogous
#453AAA #7D3AAA #AA3A9F
triadic
#7D3AAA #AA7D3A #3AAA7D
tetradic
#7D3AAA #AA453A #67AA3A #3A9FAA
square
#7D3AAA #AA453A #67AA3A #3A9FAA
split-complementary
#7D3AAA #9FAA3A #3AAA45
monochromatic
#3A1B4F #5B2A7C #7D3AAA #9B5AC7 #B788D6

Accessibility & contrast

On white

6.87
#7D3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7D3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AAA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AAA#FFFFFF#000000##FFFFFF
##7D3AAA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#275BA7
Tritanopia (blue-blind)
#76516D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3aaa;
/* rgb */ color: rgb(125, 58, 170);
/* oklch */ color: oklch(49.0% 0.176 308.8);
Tailwind
colors: {
  custom: {
    50: '#a675c4',
    500: '#7d3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #7d3aaa;
$custom-light: #a675c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3aaa",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 275.893,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.17566,
    "h": 308.8
  },
  "luminance": 0.10288
}

Semantic roles & 50–950 ramp

primary
#7D3AAA
secondary
#99C17F
accent
#D94F86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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