#7E3BC3#7E3BC3

#7E3BC3 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.201 H 302.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7E3BC3
RGBrgb(126, 59, 195)
HSLhsl(270, 54%, 50%)
HSVhsv(270, 70%, 76%)
CMYKcmyk(35.4%, 69.7%, 0%, 23.5%)
CIE-LABlab(40.42, 54.30, -59.84)
CIE-LCHlch(40.42, 80.81, 312.22°)
OKLaboklab(51.04% 0.1074 -0.1704)
OKLCHoklch(51.04% 0.201 302.2)
XYZxyz(20.0161, 11.5036, 52.7851)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3BC3 #80C33B
analogous
#3B3CC3 #7E3BC3 #C23BC3
triadic
#7E3BC3 #C37E3B #3BC37E
tetradic
#7E3BC3 #C33B3C #80C33B #3BC3C2
square
#7E3BC3 #C33B3C #80C33B #3BC3C2
split-complementary
#7E3BC3 #C3C23B #3CC33B
monochromatic
#411F65 #602D94 #7E3BC3 #9D69D2 #BC98E0

Accessibility & contrast

On white

6.36
#7E3BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E3BC3
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3BC3#FFFFFF#000000##FFFFFF
##7E3BC31.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#705B7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e3bc3;
/* rgb */ color: rgb(126, 59, 195);
/* oklch */ color: oklch(51.0% 0.201 302.2);
Tailwind
colors: {
  custom: {
    50: '#a976d6',
    500: '#7e3bc3',
    950: '#000000',
  },
}
SCSS
$custom: #7e3bc3;
$custom-light: #a976d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3bc3",
  "rgb": {
    "r": 126,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 269.559,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.20142,
    "h": 302.2
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#7E3BC3
secondary
#ADCC8E
accent
#DD4B95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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