#7D3EC4#7D3EC4

#7D3EC4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.199 H 301.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7D3EC4
RGBrgb(125, 62, 196)
HSLhsl(268, 53%, 51%)
HSVhsv(268, 68%, 77%)
CMYKcmyk(36.2%, 68.4%, 0%, 23.1%)
CIE-LABlab(40.88, 52.92, -59.68)
CIE-LCHlch(40.88, 79.76, 311.56°)
OKLaboklab(51.37% 0.1028 -0.1699)
OKLCHoklch(51.37% 0.199 301.2)
XYZxyz(20.1415, 11.7906, 53.4285)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EC4 #85C43E
analogous
#3E42C4 #7D3EC4 #C03EC4
triadic
#7D3EC4 #C47D3E #3EC47D
tetradic
#7D3EC4 #C43E42 #85C43E #3EC4C0
square
#7D3EC4 #C43E42 #85C43E #3EC4C0
split-complementary
#7D3EC4 #C4C03E #42C43E
monochromatic
#422068 #5F2E97 #7D3EC4 #9D6DD2 #BC9CE1

Accessibility & contrast

On white

6.25
#7D3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7D3EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EC4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EC4#FFFFFF#000000##FFFFFF
##7D3EC41.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#6E5D7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3ec4;
/* rgb */ color: rgb(125, 62, 196);
/* oklch */ color: oklch(51.4% 0.199 301.2);
Tailwind
colors: {
  custom: {
    50: '#a878d7',
    500: '#7d3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ec4;
$custom-light: #a878d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ec4",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 268.209,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.19862,
    "h": 301.2
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

primary
#7D3EC4
secondary
#B1CD91
accent
#DD4B98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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