#7D3EA2#7D3EA2

#7D3EA2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.161 H 310.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7D3EA2
RGBrgb(125, 62, 162)
HSLhsl(278, 45%, 44%)
HSVhsv(278, 62%, 64%)
CMYKcmyk(22.8%, 61.7%, 0%, 36.5%)
CIE-LABlab(38.58, 44.81, -43.31)
CIE-LCHlch(38.58, 62.31, 315.98°)
OKLaboklab(48.97% 0.1055 -0.1219)
OKLCHoklch(48.97% 0.161 310.9)
XYZxyz(16.7004, 10.4142, 35.3058)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EA2 #63A23E
analogous
#4B3EA2 #7D3EA2 #A23E95
triadic
#7D3EA2 #A27D3E #3EA27D
tetradic
#7D3EA2 #A24B3E #63A23E #3E95A2
square
#7D3EA2 #A24B3E #63A23E #3E95A2
split-complementary
#7D3EA2 #95A23E #3EA24B
monochromatic
#391C49 #5B2D76 #7D3EA2 #9C5CC1 #B789D2

Accessibility & contrast

On white

6.81
#7D3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7D3EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EA2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EA2#FFFFFF#000000##FFFFFF
##7D3EA21.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#78516A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3ea2;
/* rgb */ color: rgb(125, 62, 162);
/* oklch */ color: oklch(49.0% 0.161 310.9);
Tailwind
colors: {
  custom: {
    50: '#a677be',
    500: '#7d3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ea2;
$custom-light: #a677be;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ea2",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 277.8,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48972,
    "c": 0.16118,
    "h": 310.9
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#7D3EA2
secondary
#96BC80
accent
#D45383
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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