#7D3ED5#7D3ED5

#7D3ED5 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.217 H 297.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7D3ED5
RGBrgb(125, 62, 213)
HSLhsl(265, 64%, 54%)
HSVhsv(265, 71%, 84%)
CMYKcmyk(41.3%, 70.9%, 0%, 16.5%)
CIE-LABlab(42.17, 57.14, -67.42)
CIE-LCHlch(42.17, 88.38, 310.28°)
OKLaboklab(52.69% 0.1 -0.1927)
OKLCHoklch(52.69% 0.217 297.4)
XYZxyz(22.1872, 12.6089, 64.2027)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ED5 #96D53E
analogous
#3E4BD5 #7D3ED5 #C83ED5
triadic
#7D3ED5 #D57D3E #3ED57D
tetradic
#7D3ED5 #D53E4B #96D53E #3ED5C8
square
#7D3ED5 #D53E4B #96D53E #3ED5C8
split-complementary
#7D3ED5 #D5C83E #4BD53E
monochromatic
#441B7D #6026B0 #7D3ED5 #9F70E0 #C1A3EB

Accessibility & contrast

On white

5.96
#7D3ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7D3ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ED5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ED5#FFFFFF#000000##FFFFFF
##7D3ED51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#676486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d3ed5;
/* rgb */ color: rgb(125, 62, 213);
/* oklch */ color: oklch(52.7% 0.217 297.4);
Tailwind
colors: {
  custom: {
    50: '#aa78e3',
    500: '#7d3ed5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ed5;
$custom-light: #aa78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ed5",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 265.033,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.21709,
    "h": 297.4
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#7D3ED5
secondary
#BDD897
accent
#E741A2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7D3ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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