#7D3ED6#7D3ED6

#7D3ED6 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.218 H 297.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7D3ED6
RGBrgb(125, 62, 214)
HSLhsl(265, 65%, 54%)
HSVhsv(265, 71%, 84%)
CMYKcmyk(41.6%, 71%, 0%, 16.1%)
CIE-LABlab(42.25, 57.39, -67.87)
CIE-LCHlch(42.25, 88.88, 310.22°)
OKLaboklab(52.76% 0.0998 -0.194)
OKLCHoklch(52.76% 0.218 297.2)
XYZxyz(22.3145, 12.6598, 64.8732)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ED6 #97D63E
analogous
#3E4BD6 #7D3ED6 #C93ED6
triadic
#7D3ED6 #D67D3E #3ED67D
tetradic
#7D3ED6 #D63E4B #97D63E #3ED6C9
square
#7D3ED6 #D63E4B #97D63E #3ED6C9
split-complementary
#7D3ED6 #D6C93E #4BD63E
monochromatic
#441B7F #5F26B1 #7D3ED6 #9F70E1 #C1A3EB

Accessibility & contrast

On white

5.95
#7D3ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7D3ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ED6
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ED6#FFFFFF#000000##FFFFFF
##7D3ED61.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#666486
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d3ed6;
/* rgb */ color: rgb(125, 62, 214);
/* oklch */ color: oklch(52.8% 0.218 297.2);
Tailwind
colors: {
  custom: {
    50: '#aa78e4',
    500: '#7d3ed6',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ed6;
$custom-light: #aa78e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ed6",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 264.868,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.21817,
    "h": 297.2
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

primary
#7D3ED6
secondary
#BDD898
accent
#E840A2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7D3ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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