#7E3FBF#7E3FBF

#7E3FBF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.192 H 302.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7E3FBF
RGBrgb(126, 63, 191)
HSLhsl(270, 50%, 50%)
HSVhsv(270, 67%, 75%)
CMYKcmyk(34%, 67%, 0%, 25.1%)
CIE-LABlab(40.82, 51.41, -56.85)
CIE-LCHlch(40.82, 76.65, 312.12°)
OKLaboklab(51.24% 0.1037 -0.1616)
OKLCHoklch(51.24% 0.192 302.7)
XYZxyz(19.7835, 11.7522, 50.5063)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FBF #80BF3F
analogous
#3F40BF #7E3FBF #BE3FBF
triadic
#7E3FBF #BF7E3F #3FBF7E
tetradic
#7E3FBF #BF3F40 #80BF3F #3FBFBE
square
#7E3FBF #BF3F40 #80BF3F #3FBFBE
split-complementary
#7E3FBF #BFBE3F #40BF3F
monochromatic
#412163 #603091 #7E3FBF #9D6DCF #BC9BDE

Accessibility & contrast

On white

6.27
#7E3FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7E3FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FBF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FBF#FFFFFF#000000##FFFFFF
##7E3FBF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0260BC
Tritanopia (blue-blind)
#715C7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e3fbf;
/* rgb */ color: rgb(126, 63, 191);
/* oklch */ color: oklch(51.2% 0.192 302.7);
Tailwind
colors: {
  custom: {
    50: '#a878d3',
    500: '#7e3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fbf;
$custom-light: #a878d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fbf",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 269.531,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.19205,
    "h": 302.7
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#7E3FBF
secondary
#ADCA90
accent
#DA4E95
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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