#7D3EAD#7D3EAD

#7D3EAD is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.173 H 307.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7D3EAD
RGBrgb(125, 62, 173)
HSLhsl(274, 47%, 46%)
HSVhsv(274, 64%, 68%)
CMYKcmyk(27.7%, 64.2%, 0%, 32.2%)
CIE-LABlab(39.28, 47.37, -48.74)
CIE-LCHlch(39.28, 67.96, 314.18°)
OKLaboklab(49.71% 0.1051 -0.1378)
OKLCHoklch(49.71% 0.173 307.3)
XYZxyz(17.7213, 10.8226, 40.6825)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EAD #6EAD3E
analogous
#453EAD #7D3EAD #AD3EA5
triadic
#7D3EAD #AD7D3E #3EAD7D
tetradic
#7D3EAD #AD453E #6EAD3E #3EA5AD
square
#7D3EAD #AD453E #6EAD3E #3EA5AD
split-complementary
#7D3EAD #A5AD3E #3EAD45
monochromatic
#3C1E53 #5C2E80 #7D3EAD #9B62C7 #B88FD7

Accessibility & contrast

On white

6.64
#7D3EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7D3EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EAD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EAD#FFFFFF#000000##FFFFFF
##7D3EAD1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#285DAA
Tritanopia (blue-blind)
#755570
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d3ead;
/* rgb */ color: rgb(125, 62, 173);
/* oklch */ color: oklch(49.7% 0.173 307.3);
Tailwind
colors: {
  custom: {
    50: '#a677c6',
    500: '#7d3ead',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ead;
$custom-light: #a677c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ead",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 274.054,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49708,
    "c": 0.17333,
    "h": 307.3
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#7D3EAD
secondary
#9FC285
accent
#D7518B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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