#7E3FBD#7E3FBD

#7E3FBD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.190 H 303.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7E3FBD
RGBrgb(126, 63, 189)
HSLhsl(270, 50%, 49%)
HSVhsv(270, 67%, 74%)
CMYKcmyk(33.3%, 66.7%, 0%, 25.9%)
CIE-LABlab(40.68, 50.92, -55.91)
CIE-LCHlch(40.68, 75.62, 312.32°)
OKLaboklab(51.09% 0.104 -0.1588)
OKLCHoklch(51.09% 0.19 303.2)
XYZxyz(19.5649, 11.6648, 49.3550)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FBD #7EBD3F
analogous
#3F3FBD #7E3FBD #BD3FBD
triadic
#7E3FBD #BD7E3F #3FBD7E
tetradic
#7E3FBD #BD3F3F #7EBD3F #3FBDBD
square
#7E3FBD #BD3F3F #7EBD3F #3FBDBD
split-complementary
#7E3FBD #BDBD3F #3FBD3F
monochromatic
#412061 #5F308F #7E3FBD #9D6BCE #BB99DD

Accessibility & contrast

On white

6.30
#7E3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7E3FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FBD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FBD#FFFFFF#000000##FFFFFF
##7E3FBD1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0B60BA
Tritanopia (blue-blind)
#725B79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e3fbd;
/* rgb */ color: rgb(126, 63, 189);
/* oklch */ color: oklch(51.1% 0.190 303.2);
Tailwind
colors: {
  custom: {
    50: '#a878d2',
    500: '#7e3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fbd;
$custom-light: #a878d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fbd",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 270,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.18984,
    "h": 303.2
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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