#7D3EC3#7D3EC3

#7D3EC3 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.198 H 301.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7D3EC3
RGBrgb(125, 62, 195)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 68%, 76%)
CMYKcmyk(35.9%, 68.2%, 0%, 23.5%)
CIE-LABlab(40.81, 52.67, -59.21)
CIE-LCHlch(40.81, 79.25, 311.65°)
OKLaboklab(51.29% 0.1029 -0.1686)
OKLCHoklch(51.29% 0.198 301.4)
XYZxyz(20.0280, 11.7453, 52.8311)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EC3 #84C33E
analogous
#3E41C3 #7D3EC3 #BF3EC3
triadic
#7D3EC3 #C37D3E #3EC37D
tetradic
#7D3EC3 #C33E41 #84C33E #3EC3BF
square
#7D3EC3 #C33E41 #84C33E #3EC3BF
split-complementary
#7D3EC3 #C3BF3E #41C33E
monochromatic
#412067 #5F2E95 #7D3EC3 #9C6DD2 #BC9BE0

Accessibility & contrast

On white

6.27
#7D3EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7D3EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EC3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EC3#FFFFFF#000000##FFFFFF
##7D3EC31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#6E5D7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3ec3;
/* rgb */ color: rgb(125, 62, 195);
/* oklch */ color: oklch(51.3% 0.198 301.4);
Tailwind
colors: {
  custom: {
    50: '#a878d6',
    500: '#7d3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ec3;
$custom-light: #a878d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ec3",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 268.421,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51291,
    "c": 0.19753,
    "h": 301.4
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#7D3EC3
secondary
#B0CC91
accent
#DC4C98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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