#7E3FBE#7E3FBE

#7E3FBE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.191 H 302.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7E3FBE
RGBrgb(126, 63, 190)
HSLhsl(270, 50%, 50%)
HSVhsv(270, 67%, 75%)
CMYKcmyk(33.7%, 66.8%, 0%, 25.5%)
CIE-LABlab(40.75, 51.16, -56.38)
CIE-LCHlch(40.75, 76.14, 312.22°)
OKLaboklab(51.16% 0.1039 -0.1602)
OKLCHoklch(51.16% 0.191 302.9)
XYZxyz(19.6738, 11.7083, 49.9287)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FBE #7FBE3F
analogous
#3F3FBE #7E3FBE #BE3FBE
triadic
#7E3FBE #BE7E3F #3FBE7E
tetradic
#7E3FBE #BE3F3F #7FBE3F #3FBEBE
square
#7E3FBE #BE3F3F #7FBE3F #3FBEBE
split-complementary
#7E3FBE #BEBE3F #3FBE3F
monochromatic
#412162 #603090 #7E3FBE #9D6CCE #BB9ADD

Accessibility & contrast

On white

6.28
#7E3FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7E3FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FBE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FBE#FFFFFF#000000##FFFFFF
##7E3FBE1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0760BB
Tritanopia (blue-blind)
#715C79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e3fbe;
/* rgb */ color: rgb(126, 63, 190);
/* oklch */ color: oklch(51.2% 0.191 302.9);
Tailwind
colors: {
  custom: {
    50: '#a878d2',
    500: '#7e3fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fbe;
$custom-light: #a878d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fbe",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 269.764,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.19095,
    "h": 302.9
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#7E3FBE
secondary
#ADC98F
accent
#DA4E94
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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