#7E3BC4#7E3BC4

#7E3BC4 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.202 H 302.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7E3BC4
RGBrgb(126, 59, 196)
HSLhsl(269, 54%, 50%)
HSVhsv(269, 70%, 77%)
CMYKcmyk(35.7%, 69.9%, 0%, 23.1%)
CIE-LABlab(40.49, 54.54, -60.31)
CIE-LCHlch(40.49, 81.31, 312.13°)
OKLaboklab(51.11% 0.1073 -0.1718)
OKLCHoklch(51.11% 0.202 302)
XYZxyz(20.1296, 11.5490, 53.3825)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3BC4 #81C43B
analogous
#3B3DC4 #7E3BC4 #C23BC4
triadic
#7E3BC4 #C47E3B #3BC47E
tetradic
#7E3BC4 #C43B3D #81C43B #3BC4C2
square
#7E3BC4 #C43B3D #81C43B #3BC4C2
split-complementary
#7E3BC4 #C4C23B #3DC43B
monochromatic
#421F66 #602D95 #7E3BC4 #9D6AD2 #BC99E0

Accessibility & contrast

On white

6.34
#7E3BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E3BC4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3BC4#FFFFFF#000000##FFFFFF
##7E3BC41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#6F5C7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e3bc4;
/* rgb */ color: rgb(126, 59, 196);
/* oklch */ color: oklch(51.1% 0.202 302.0);
Tailwind
colors: {
  custom: {
    50: '#a976d7',
    500: '#7e3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #7e3bc4;
$custom-light: #a976d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3bc4",
  "rgb": {
    "r": 126,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 269.343,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.51114,
    "c": 0.20249,
    "h": 302
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#7E3BC4
secondary
#AECC8F
accent
#DD4B96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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