#7E3BBF#7E3BBF

#7E3BBF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.197 H 303.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7E3BBF
RGBrgb(126, 59, 191)
HSLhsl(270, 53%, 49%)
HSVhsv(270, 69%, 75%)
CMYKcmyk(34%, 69.1%, 0%, 25.1%)
CIE-LABlab(40.12, 53.34, -57.98)
CIE-LCHlch(40.12, 78.79, 312.61°)
OKLaboklab(50.74% 0.108 -0.1649)
OKLCHoklch(50.74% 0.197 303.2)
XYZxyz(19.5699, 11.3251, 50.4351)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3BBF #7CBF3B
analogous
#3C3BBF #7E3BBF #BF3BBE
triadic
#7E3BBF #BF7E3B #3BBF7E
tetradic
#7E3BBF #BF3C3B #7CBF3B #3BBEBF
square
#7E3BBF #BF3C3B #7CBF3B #3BBEBF
split-complementary
#7E3BBF #BEBF3B #3BBF3C
monochromatic
#401E61 #5F2D90 #7E3BBF #9C67D0 #BB96DF

Accessibility & contrast

On white

6.43
#7E3BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7E3BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3BBF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3BBF#FFFFFF#000000##FFFFFF
##7E3BBF1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#715A79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e3bbf;
/* rgb */ color: rgb(126, 59, 191);
/* oklch */ color: oklch(50.7% 0.197 303.2);
Tailwind
colors: {
  custom: {
    50: '#a876d3',
    500: '#7e3bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e3bbf;
$custom-light: #a876d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3bbf",
  "rgb": {
    "r": 126,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 270.455,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50737,
    "c": 0.19715,
    "h": 303.2
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

primary
#7E3BBF
secondary
#AACA8C
accent
#DC4C93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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