#7E3DBE#7E3DBE

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

Color values

HEX#7E3DBE
RGBrgb(126, 61, 190)
HSLhsl(270, 51%, 49%)
HSVhsv(270, 68%, 75%)
CMYKcmyk(33.7%, 67.9%, 0%, 25.5%)
CIE-LABlab(40.40, 52.14, -56.96)
CIE-LCHlch(40.40, 77.22, 312.47°)
OKLaboklab(50.91% 0.106 -0.1619)
OKLCHoklch(50.91% 0.194 303.2)
XYZxyz(19.5650, 11.4908, 49.8924)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3DBE #7DBE3D
analogous
#3E3DBE #7E3DBE #BE3DBD
triadic
#7E3DBE #BE7E3D #3DBE7E
tetradic
#7E3DBE #BE3E3D #7DBE3D #3DBDBE
square
#7E3DBE #BE3E3D #7DBE3D #3DBDBE
split-complementary
#7E3DBE #BDBE3D #3DBE3E
monochromatic
#411F61 #5F2E90 #7E3DBE #9C69CF #BB98DE

Accessibility & contrast

On white

6.37
#7E3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E3DBE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3DBE#FFFFFF#000000##FFFFFF
##7E3DBE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e3dbe;
/* rgb */ color: rgb(126, 61, 190);
/* oklch */ color: oklch(50.9% 0.194 303.2);
Tailwind
colors: {
  custom: {
    50: '#a877d2',
    500: '#7e3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #7e3dbe;
$custom-light: #a877d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3dbe",
  "rgb": {
    "r": 126,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 270.233,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.19354,
    "h": 303.2
  },
  "luminance": 0.11491
}

Semantic roles & 50–950 ramp

primary
#7E3DBE
secondary
#ABC98D
accent
#DB4D93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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