#7D3EC1#7D3EC1

#7D3EC1 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.195 H 301.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7D3EC1
RGBrgb(125, 62, 193)
HSLhsl(269, 51%, 50%)
HSVhsv(269, 68%, 76%)
CMYKcmyk(35.2%, 67.9%, 0%, 24.3%)
CIE-LABlab(40.66, 52.18, -58.28)
CIE-LCHlch(40.66, 78.23, 311.84°)
OKLaboklab(51.14% 0.1032 -0.1658)
OKLCHoklch(51.14% 0.195 301.9)
XYZxyz(19.8034, 11.6554, 51.6481)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EC1 #82C13E
analogous
#3E40C1 #7D3EC1 #BF3EC1
triadic
#7D3EC1 #C17D3E #3EC17D
tetradic
#7D3EC1 #C13E40 #82C13E #3EC1BF
square
#7D3EC1 #C13E40 #82C13E #3EC1BF
split-complementary
#7D3EC1 #C1BF3E #40C13E
monochromatic
#412064 #5F2F93 #7D3EC1 #9C6CD0 #BB9BDF

Accessibility & contrast

On white

6.30
#7D3EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7D3EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EC1
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EC1#FFFFFF#000000##FFFFFF
##7D3EC11.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d3ec1;
/* rgb */ color: rgb(125, 62, 193);
/* oklch */ color: oklch(51.1% 0.195 301.9);
Tailwind
colors: {
  custom: {
    50: '#a878d5',
    500: '#7d3ec1',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ec1;
$custom-light: #a878d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ec1",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 268.855,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.19534,
    "h": 301.9
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#7D3EC1
secondary
#AFCB90
accent
#DB4D97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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