#7E3BCE#7E3BCE

#7E3BCE is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.213 H 299.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7E3BCE
RGBrgb(126, 59, 206)
HSLhsl(267, 60%, 52%)
HSVhsv(267, 71%, 81%)
CMYKcmyk(38.8%, 71.4%, 0%, 19.2%)
CIE-LABlab(41.25, 56.98, -64.88)
CIE-LCHlch(41.25, 86.35, 311.29°)
OKLaboklab(51.89% 0.1055 -0.1852)
OKLCHoklch(51.89% 0.213 299.7)
XYZxyz(21.3059, 12.0195, 59.5781)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3BCE #8BCE3B
analogous
#3B42CE #7E3BCE #C83BCE
triadic
#7E3BCE #CE7E3B #3BCE7E
tetradic
#7E3BCE #CE3B42 #8BCE3B #3BCEC8
square
#7E3BCE #CE3B42 #8BCE3B #3BCEC8
split-complementary
#7E3BCE #CEC83B #42CE3B
monochromatic
#441D72 #6029A3 #7E3BCE #9E6CDA #BE9DE6

Accessibility & contrast

On white

6.17
#7E3BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7E3BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3BCE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3BCE#FFFFFF#000000##FFFFFF
##7E3BCE1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#6B5F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e3bce;
/* rgb */ color: rgb(126, 59, 206);
/* oklch */ color: oklch(51.9% 0.213 299.7);
Tailwind
colors: {
  custom: {
    50: '#aa77de',
    500: '#7e3bce',
    950: '#000000',
  },
}
SCSS
$custom: #7e3bce;
$custom-light: #aa77de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3bce",
  "rgb": {
    "r": 126,
    "g": 59,
    "b": 206
  },
  "hsl": {
    "h": 267.347,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.21315,
    "h": 299.7
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#7E3BCE
secondary
#B5D392
accent
#E3459B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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