#7D3EC6#7D3EC6

#7D3EC6 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.201 H 300.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7D3EC6
RGBrgb(125, 62, 198)
HSLhsl(268, 54%, 51%)
HSVhsv(268, 69%, 78%)
CMYKcmyk(36.9%, 68.7%, 0%, 22.4%)
CIE-LABlab(41.03, 53.41, -60.60)
CIE-LCHlch(41.03, 80.78, 311.39°)
OKLaboklab(51.52% 0.1025 -0.1727)
OKLCHoklch(51.52% 0.201 300.7)
XYZxyz(20.3706, 11.8823, 54.6354)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EC6 #87C63E
analogous
#3E43C6 #7D3EC6 #C13EC6
triadic
#7D3EC6 #C67D3E #3EC67D
tetradic
#7D3EC6 #C63E43 #87C63E #3EC6C1
square
#7D3EC6 #C63E43 #87C63E #3EC6C1
split-complementary
#7D3EC6 #C6C13E #43C63E
monochromatic
#421F6A #5F2D99 #7D3EC6 #9D6DD4 #BD9CE2

Accessibility & contrast

On white

6.22
#7D3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7D3EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EC6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EC6#FFFFFF#000000##FFFFFF
##7D3EC61.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d3ec6;
/* rgb */ color: rgb(125, 62, 198);
/* oklch */ color: oklch(51.5% 0.201 300.7);
Tailwind
colors: {
  custom: {
    50: '#a878d8',
    500: '#7d3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ec6;
$custom-light: #a878d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ec6",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 267.794,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.2008,
    "h": 300.7
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#7D3EC6
secondary
#B2CE92
accent
#DE4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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