#7E3DBF#7E3DBF

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

Color values

HEX#7E3DBF
RGBrgb(126, 61, 191)
HSLhsl(270, 52%, 49%)
HSVhsv(270, 68%, 75%)
CMYKcmyk(34%, 68.1%, 0%, 25.1%)
CIE-LABlab(40.47, 52.38, -57.43)
CIE-LCHlch(40.47, 77.73, 312.37°)
OKLaboklab(50.98% 0.1059 -0.1633)
OKLCHoklch(50.98% 0.195 303)
XYZxyz(19.6747, 11.5347, 50.4700)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3DBF #7EBF3D
analogous
#3D3DBF #7E3DBF #BF3DBF
triadic
#7E3DBF #BF7E3D #3DBF7E
tetradic
#7E3DBF #BF3D3D #7EBF3D #3DBFBF
square
#7E3DBF #BF3D3D #7EBF3D #3DBFBF
split-complementary
#7E3DBF #BFBF3D #3DBF3D
monochromatic
#411F62 #5F2E91 #7E3DBF #9D6ACF #BB98DE

Accessibility & contrast

On white

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

On black

3.31
#7E3DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E3DBF#FFFFFF#000000##FFFFFF
##7E3DBF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#715B79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e3dbf;
/* rgb */ color: rgb(126, 61, 191);
/* oklch */ color: oklch(51.0% 0.195 303.0);
Tailwind
colors: {
  custom: {
    50: '#a877d3',
    500: '#7e3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e3dbf;
$custom-light: #a877d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3dbf",
  "rgb": {
    "r": 126,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 270,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50983,
    "c": 0.19462,
    "h": 303
  },
  "luminance": 0.11535
}

Semantic roles & 50–950 ramp

primary
#7E3DBF
secondary
#ACCA8E
accent
#DB4D94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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