#7D3EA4#7D3EA4

#7D3EA4 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.163 H 310.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7D3EA4
RGBrgb(125, 62, 164)
HSLhsl(277, 45%, 44%)
HSVhsv(277, 62%, 64%)
CMYKcmyk(23.8%, 62.2%, 0%, 35.7%)
CIE-LABlab(38.70, 45.27, -44.30)
CIE-LCHlch(38.70, 63.34, 315.62°)
OKLaboklab(49.1% 0.1055 -0.1248)
OKLCHoklch(49.1% 0.163 310.2)
XYZxyz(16.8796, 10.4859, 36.2495)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EA4 #65A43E
analogous
#4A3EA4 #7D3EA4 #A43E98
triadic
#7D3EA4 #A47D3E #3EA47D
tetradic
#7D3EA4 #A44A3E #65A43E #3E98A4
square
#7D3EA4 #A44A3E #65A43E #3E98A4
split-complementary
#7D3EA4 #98A43E #3EA44A
monochromatic
#391C4B #5B2D78 #7D3EA4 #9B5DC2 #B78AD3

Accessibility & contrast

On white

6.78
#7D3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7D3EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EA4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EA4#FFFFFF#000000##FFFFFF
##7D3EA41.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A7
Deuteranopia (green-blind)
#325CA2
Tritanopia (blue-blind)
#78526B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3ea4;
/* rgb */ color: rgb(125, 62, 164);
/* oklch */ color: oklch(49.1% 0.163 310.2);
Tailwind
colors: {
  custom: {
    50: '#a677bf',
    500: '#7d3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ea4;
$custom-light: #a677bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ea4",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 277.059,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.16338,
    "h": 310.2
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#7D3EA4
secondary
#98BD81
accent
#D55385
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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