#7D3EC0#7D3EC0

#7D3EC0 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.194 H 302.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7D3EC0
RGBrgb(125, 62, 192)
HSLhsl(269, 51%, 50%)
HSVhsv(269, 68%, 75%)
CMYKcmyk(34.9%, 67.7%, 0%, 24.7%)
CIE-LABlab(40.59, 51.94, -57.82)
CIE-LCHlch(40.59, 77.72, 311.93°)
OKLaboklab(51.07% 0.1033 -0.1645)
OKLCHoklch(51.07% 0.194 302.1)
XYZxyz(19.6922, 11.6109, 51.0626)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EC0 #81C03E
analogous
#3E40C0 #7D3EC0 #BE3EC0
triadic
#7D3EC0 #C07D3E #3EC07D
tetradic
#7D3EC0 #C03E40 #81C03E #3EC0BE
square
#7D3EC0 #C03E40 #81C03E #3EC0BE
split-complementary
#7D3EC0 #C0BE3E #40C03E
monochromatic
#412063 #5F2F92 #7D3EC0 #9C6CCF #BB9ADE

Accessibility & contrast

On white

6.32
#7D3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7D3EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EC0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EC0#FFFFFF#000000##FFFFFF
##7D3EC01.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#6F5C7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3ec0;
/* rgb */ color: rgb(125, 62, 192);
/* oklch */ color: oklch(51.1% 0.194 302.1);
Tailwind
colors: {
  custom: {
    50: '#a878d4',
    500: '#7d3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ec0;
$custom-light: #a878d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ec0",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 269.077,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.19424,
    "h": 302.1
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#7D3EC0
secondary
#AECA8F
accent
#DB4D96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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