#7D3EC5#7D3EC5

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

Color values

HEX#7D3EC5
RGBrgb(125, 62, 197)
HSLhsl(268, 54%, 51%)
HSVhsv(268, 69%, 77%)
CMYKcmyk(36.5%, 68.5%, 0%, 22.7%)
CIE-LABlab(40.95, 53.16, -60.14)
CIE-LCHlch(40.95, 80.27, 311.48°)
OKLaboklab(51.44% 0.1027 -0.1713)
OKLCHoklch(51.44% 0.2 300.9)
XYZxyz(20.2557, 11.8363, 54.0300)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EC5 #86C53E
analogous
#3E42C5 #7D3EC5 #C03EC5
triadic
#7D3EC5 #C57D3E #3EC57D
tetradic
#7D3EC5 #C53E42 #86C53E #3EC5C0
square
#7D3EC5 #C53E42 #86C53E #3EC5C0
split-complementary
#7D3EC5 #C5C03E #42C53E
monochromatic
#422069 #5F2E98 #7D3EC5 #9D6DD3 #BC9CE1

Accessibility & contrast

On white

6.24
#7D3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7D3EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EC5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EC5#FFFFFF#000000##FFFFFF
##7D3EC51.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#6D5E7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3ec5;
/* rgb */ color: rgb(125, 62, 197);
/* oklch */ color: oklch(51.4% 0.200 300.9);
Tailwind
colors: {
  custom: {
    50: '#a878d7',
    500: '#7d3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ec5;
$custom-light: #a878d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ec5",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 268,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.19971,
    "h": 300.9
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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