#7D3EA3#7D3EA3

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

Color values

HEX#7D3EA3
RGBrgb(125, 62, 163)
HSLhsl(277, 45%, 44%)
HSVhsv(277, 62%, 64%)
CMYKcmyk(23.3%, 62%, 0%, 36.1%)
CIE-LABlab(38.64, 45.04, -43.81)
CIE-LCHlch(38.64, 62.83, 315.79°)
OKLaboklab(49.04% 0.1055 -0.1233)
OKLCHoklch(49.04% 0.162 310.5)
XYZxyz(16.7897, 10.4499, 35.7758)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EA3 #64A33E
analogous
#4B3EA3 #7D3EA3 #A33E97
triadic
#7D3EA3 #A37D3E #3EA37D
tetradic
#7D3EA3 #A34B3E #64A33E #3E97A3
square
#7D3EA3 #A34B3E #64A33E #3E97A3
split-complementary
#7D3EA3 #97A33E #3EA34B
monochromatic
#391C4A #5B2D77 #7D3EA3 #9C5DC1 #B789D2

Accessibility & contrast

On white

6.80
#7D3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7D3EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EA3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EA3#FFFFFF#000000##FFFFFF
##7D3EA31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A6
Deuteranopia (green-blind)
#335CA1
Tritanopia (blue-blind)
#78516B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3ea3;
/* rgb */ color: rgb(125, 62, 163);
/* oklch */ color: oklch(49.0% 0.162 310.5);
Tailwind
colors: {
  custom: {
    50: '#a677bf',
    500: '#7d3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ea3;
$custom-light: #a677bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ea3",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 277.426,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.16228,
    "h": 310.5
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#7D3EA3
secondary
#97BD80
accent
#D55384
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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