#7D3EC8#7D3EC8

#7D3EC8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.203 H 300.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7D3EC8
RGBrgb(125, 62, 200)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 69%, 78%)
CMYKcmyk(37.5%, 69%, 0%, 21.6%)
CIE-LABlab(41.18, 53.90, -61.52)
CIE-LCHlch(41.18, 81.80, 311.22°)
OKLaboklab(51.67% 0.1022 -0.1754)
OKLCHoklch(51.67% 0.203 300.2)
XYZxyz(20.6028, 11.9752, 55.8584)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EC8 #89C83E
analogous
#3E44C8 #7D3EC8 #C23EC8
triadic
#7D3EC8 #C87D3E #3EC87D
tetradic
#7D3EC8 #C83E44 #89C83E #3EC8C2
square
#7D3EC8 #C83E44 #89C83E #3EC8C2
split-complementary
#7D3EC8 #C8C23E #44C83E
monochromatic
#421F6D #602D9C #7D3EC8 #9D6ED6 #BD9DE3

Accessibility & contrast

On white

6.19
#7D3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7D3EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EC8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EC8#FFFFFF#000000##FFFFFF
##7D3EC81.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#6C5F7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3ec8;
/* rgb */ color: rgb(125, 62, 200);
/* oklch */ color: oklch(51.7% 0.203 300.2);
Tailwind
colors: {
  custom: {
    50: '#a878da',
    500: '#7d3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ec8;
$custom-light: #a878da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ec8",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 267.391,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.20299,
    "h": 300.2
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#7D3EC8
secondary
#B4CF92
accent
#DF499A
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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