#7E4BC3#7E4BC3

#7E4BC3 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.180 H 299.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7E4BC3
RGBrgb(126, 75, 195)
HSLhsl(266, 50%, 53%)
HSVhsv(266, 62%, 76%)
CMYKcmyk(35.4%, 61.5%, 0%, 23.5%)
CIE-LABlab(43.37, 46.21, -55.06)
CIE-LCHlch(43.37, 71.88, 310.00°)
OKLaboklab(53.17% 0.0897 -0.1564)
OKLCHoklch(53.17% 0.18 299.8)
XYZxyz(20.9682, 13.4077, 53.1024)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BC3 #90C34B
analogous
#4B54C3 #7E4BC3 #BA4BC3
triadic
#7E4BC3 #C37E4B #4BC37E
tetradic
#7E4BC3 #C34B54 #90C34B #4BC3BA
square
#7E4BC3 #C34B54 #90C34B #4BC3BA
split-complementary
#7E4BC3 #C3BA4B #54C34B
monochromatic
#44256F #61349D #7E4BC3 #9F79D2 #C0A7E2

Accessibility & contrast

On white

5.70
#7E4BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7E4BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BC3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BC3#FFFFFF#000000##FFFFFF
##7E4BC31.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#1E66C0
Tritanopia (blue-blind)
#6F6580
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e4bc3;
/* rgb */ color: rgb(126, 75, 195);
/* oklch */ color: oklch(53.2% 0.180 299.8);
Tailwind
colors: {
  custom: {
    50: '#a880d6',
    500: '#7e4bc3',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bc3;
$custom-light: #a880d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bc3",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 265.5,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.18031,
    "h": 299.8
  },
  "luminance": 0.13408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E4BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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