#7E3FBC#7E3FBC

#7E3FBC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.189 H 303.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7E3FBC
RGBrgb(126, 63, 188)
HSLhsl(270, 50%, 49%)
HSVhsv(270, 66%, 74%)
CMYKcmyk(33%, 66.5%, 0%, 26.3%)
CIE-LABlab(40.61, 50.68, -55.44)
CIE-LCHlch(40.61, 75.11, 312.43°)
OKLaboklab(51.02% 0.1041 -0.1575)
OKLCHoklch(51.02% 0.189 303.5)
XYZxyz(19.4567, 11.6215, 48.7853)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FBC #7DBC3F
analogous
#403FBC #7E3FBC #BC3FBC
triadic
#7E3FBC #BC7E3F #3FBC7E
tetradic
#7E3FBC #BC403F #7DBC3F #3FBCBC
square
#7E3FBC #BC403F #7DBC3F #3FBCBC
split-complementary
#7E3FBC #BCBC3F #3FBC40
monochromatic
#412060 #5F308E #7E3FBC #9C6BCD #BB99DD

Accessibility & contrast

On white

6.32
#7E3FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7E3FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FBC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FBC#FFFFFF#000000##FFFFFF
##7E3FBC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0F60B9
Tritanopia (blue-blind)
#725B78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e3fbc;
/* rgb */ color: rgb(126, 63, 188);
/* oklch */ color: oklch(51.0% 0.189 303.5);
Tailwind
colors: {
  custom: {
    50: '#a878d1',
    500: '#7e3fbc',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fbc;
$custom-light: #a878d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fbc",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 270.24,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51017,
    "c": 0.18874,
    "h": 303.5
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#7E3FBC
secondary
#ABC98E
accent
#D94E93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7E3FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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