#7E4BC8#7E4BC8

#7E4BC8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.186 H 298.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7E4BC8
RGBrgb(126, 75, 200)
HSLhsl(264, 53%, 54%)
HSVhsv(264, 63%, 78%)
CMYKcmyk(37%, 62.5%, 0%, 21.6%)
CIE-LABlab(43.71, 47.49, -57.42)
CIE-LCHlch(43.71, 74.51, 309.59°)
OKLaboklab(53.52% 0.0894 -0.1633)
OKLCHoklch(53.52% 0.186 298.7)
XYZxyz(21.5430, 13.6376, 56.1297)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BC8 #95C84B
analogous
#4B57C8 #7E4BC8 #BD4BC8
triadic
#7E4BC8 #C87E4B #4BC87E
tetradic
#7E4BC8 #C84B57 #95C84B #4BC8BD
square
#7E4BC8 #C84B57 #95C84B #4BC8BD
split-complementary
#7E4BC8 #C8BD4B #57C84B
monochromatic
#452475 #6032A4 #7E4BC8 #A07AD6 #C1A9E5

Accessibility & contrast

On white

5.63
#7E4BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7E4BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BC8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BC8#FFFFFF#000000##FFFFFF
##7E4BC81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#1166C5
Tritanopia (blue-blind)
#6D6783
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e4bc8;
/* rgb */ color: rgb(126, 75, 200);
/* oklch */ color: oklch(53.5% 0.186 298.7);
Tailwind
colors: {
  custom: {
    50: '#a880d9',
    500: '#7e4bc8',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bc8;
$custom-light: #a880d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bc8",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 264.48,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.1862,
    "h": 298.7
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#7E4BC8
secondary
#BCD29D
accent
#DD4BA1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E4BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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