#7E4BC4#7E4BC4

#7E4BC4 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.181 H 299.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7E4BC4
RGBrgb(126, 75, 196)
HSLhsl(265, 51%, 53%)
HSVhsv(265, 62%, 77%)
CMYKcmyk(35.7%, 61.7%, 0%, 23.1%)
CIE-LABlab(43.44, 46.46, -55.54)
CIE-LCHlch(43.44, 72.41, 309.92°)
OKLaboklab(53.24% 0.0897 -0.1578)
OKLCHoklch(53.24% 0.181 299.6)
XYZxyz(21.0816, 13.4531, 53.6999)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BC4 #91C44B
analogous
#4B54C4 #7E4BC4 #BA4BC4
triadic
#7E4BC4 #C47E4B #4BC47E
tetradic
#7E4BC4 #C44B54 #91C44B #4BC4BA
square
#7E4BC4 #C44B54 #91C44B #4BC4BA
split-complementary
#7E4BC4 #C4BA4B #54C44B
monochromatic
#442570 #61349E #7E4BC4 #9F79D3 #C0A7E2

Accessibility & contrast

On white

5.69
#7E4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7E4BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BC4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BC4#FFFFFF#000000##FFFFFF
##7E4BC41.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#1C66C1
Tritanopia (blue-blind)
#6F6580
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e4bc4;
/* rgb */ color: rgb(126, 75, 196);
/* oklch */ color: oklch(53.2% 0.181 299.6);
Tailwind
colors: {
  custom: {
    50: '#a880d7',
    500: '#7e4bc4',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bc4;
$custom-light: #a880d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bc4",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 265.289,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53236,
    "c": 0.18149,
    "h": 299.6
  },
  "luminance": 0.13453
}

Semantic roles & 50–950 ramp

primary
#7E4BC4
secondary
#B9CF9B
accent
#DA4E9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7E4BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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