#7D3ED1#7D3ED1

#7D3ED1 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.213 H 298.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7D3ED1
RGBrgb(125, 62, 209)
HSLhsl(266, 62%, 53%)
HSVhsv(266, 70%, 82%)
CMYKcmyk(40.2%, 70.3%, 0%, 18%)
CIE-LABlab(41.86, 56.14, -65.62)
CIE-LCHlch(41.86, 86.36, 310.55°)
OKLaboklab(52.37% 0.1007 -0.1874)
OKLCHoklch(52.37% 0.213 298.2)
XYZxyz(21.6858, 12.4083, 61.5618)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ED1 #92D13E
analogous
#3E48D1 #7D3ED1 #C63ED1
triadic
#7D3ED1 #D17D3E #3ED17D
tetradic
#7D3ED1 #D13E48 #92D13E #3ED1C6
square
#7D3ED1 #D13E48 #92D13E #3ED1C6
split-complementary
#7D3ED1 #D1C63E #48D13E
monochromatic
#441D78 #6028A9 #7D3ED1 #9E6FDD #C0A1E9

Accessibility & contrast

On white

6.03
#7D3ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7D3ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ED1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ED1#FFFFFF#000000##FFFFFF
##7D3ED11.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#686283
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d3ed1;
/* rgb */ color: rgb(125, 62, 209);
/* oklch */ color: oklch(52.4% 0.213 298.2);
Tailwind
colors: {
  custom: {
    50: '#a978e0',
    500: '#7d3ed1',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ed1;
$custom-light: #a978e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ed1",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 265.714,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52369,
    "c": 0.21276,
    "h": 298.2
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

primary
#7D3ED1
secondary
#BAD596
accent
#E5439F
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7D3ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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