#7D3EBE#7D3EBE

#7D3EBE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.192 H 302.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7D3EBE
RGBrgb(125, 62, 190)
HSLhsl(270, 51%, 49%)
HSVhsv(270, 67%, 75%)
CMYKcmyk(34.2%, 67.4%, 0%, 25.5%)
CIE-LABlab(40.45, 51.45, -56.88)
CIE-LCHlch(40.45, 76.69, 312.13°)
OKLaboklab(50.92% 0.1036 -0.1617)
OKLCHoklch(50.92% 0.192 302.6)
XYZxyz(19.4722, 11.5229, 49.9035)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EBE #7FBE3E
analogous
#3E3FBE #7D3EBE #BD3EBE
triadic
#7D3EBE #BE7D3E #3EBE7D
tetradic
#7D3EBE #BE3E3F #7FBE3E #3EBEBD
square
#7D3EBE #BE3E3F #7FBE3E #3EBEBD
split-complementary
#7D3EBE #BEBD3E #3FBE3E
monochromatic
#402062 #5F2F90 #7D3EBE #9C6BCF #BB99DE

Accessibility & contrast

On white

6.35
#7D3EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7D3EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EBE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EBE#FFFFFF#000000##FFFFFF
##7D3EBE1.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#705B79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3ebe;
/* rgb */ color: rgb(125, 62, 190);
/* oklch */ color: oklch(50.9% 0.192 302.6);
Tailwind
colors: {
  custom: {
    50: '#a878d2',
    500: '#7d3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ebe;
$custom-light: #a878d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ebe",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 269.531,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.19205,
    "h": 302.6
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#7D3EBE
secondary
#ACC98E
accent
#DA4E95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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