#7E4BBF#7E4BBF

#7E4BBF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.176 H 300.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7E4BBF
RGBrgb(126, 75, 191)
HSLhsl(266, 48%, 52%)
HSVhsv(266, 61%, 75%)
CMYKcmyk(34%, 60.7%, 0%, 25.1%)
CIE-LABlab(43.11, 45.19, -53.16)
CIE-LCHlch(43.11, 69.77, 310.37°)
OKLaboklab(52.89% 0.0899 -0.1508)
OKLCHoklch(52.89% 0.176 300.8)
XYZxyz(20.5220, 13.2292, 50.7524)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BBF #8CBF4B
analogous
#4B52BF #7E4BBF #B84BBF
triadic
#7E4BBF #BF7E4B #4BBF7E
tetradic
#7E4BBF #BF4B52 #8CBF4B #4BBFB8
square
#7E4BBF #BF4B52 #8CBF4B #4BBFB8
split-complementary
#7E4BBF #BFB84B #52BF4B
monochromatic
#44266A #613697 #7E4BBF #9E78CF #BFA5DF

Accessibility & contrast

On white

5.76
#7E4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7E4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BBF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BBF#FFFFFF#000000##FFFFFF
##7E4BBF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#70637E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e4bbf;
/* rgb */ color: rgb(126, 75, 191);
/* oklch */ color: oklch(52.9% 0.176 300.8);
Tailwind
colors: {
  custom: {
    50: '#a880d3',
    500: '#7e4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bbf;
$custom-light: #a880d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bbf",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 266.379,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.17557,
    "h": 300.8
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#7E4BBF
secondary
#B6CC9A
accent
#D7519C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7E4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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