#7D3ECE#7D3ECE

#7D3ECE is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.210 H 298.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7D3ECE
RGBrgb(125, 62, 206)
HSLhsl(266, 60%, 53%)
HSVhsv(266, 70%, 81%)
CMYKcmyk(39.3%, 69.9%, 0%, 19.2%)
CIE-LABlab(41.63, 55.39, -64.27)
CIE-LCHlch(41.63, 84.84, 310.76°)
OKLaboklab(52.13% 0.1012 -0.1834)
OKLCHoklch(52.13% 0.21 298.9)
XYZxyz(21.3178, 12.2612, 59.6241)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ECE #8FCE3E
analogous
#3E47CE #7D3ECE #C53ECE
triadic
#7D3ECE #CE7D3E #3ECE7D
tetradic
#7D3ECE #CE3E47 #8FCE3E #3ECEC5
square
#7D3ECE #CE3E47 #8FCE3E #3ECEC5
split-complementary
#7D3ECE #CEC53E #47CE3E
monochromatic
#431D74 #602AA5 #7D3ECE #9E6FDA #BFA0E7

Accessibility & contrast

On white

6.08
#7D3ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7D3ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ECE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ECE#FFFFFF#000000##FFFFFF
##7D3ECE1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#6A6182
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d3ece;
/* rgb */ color: rgb(125, 62, 206);
/* oklch */ color: oklch(52.1% 0.210 298.9);
Tailwind
colors: {
  custom: {
    50: '#a978de',
    500: '#7d3ece',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ece;
$custom-light: #a978de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ece",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 266.25,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.20951,
    "h": 298.9
  },
  "luminance": 0.12261
}

Semantic roles & 50–950 ramp

primary
#7D3ECE
secondary
#B8D395
accent
#E3459E
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7D3ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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