#7E4BCE#7E4BCE

#7E4BCE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.193 H 297.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7E4BCE
RGBrgb(126, 75, 206)
HSLhsl(263, 57%, 55%)
HSVhsv(263, 64%, 81%)
CMYKcmyk(38.8%, 63.6%, 0%, 19.2%)
CIE-LABlab(44.12, 49.04, -60.21)
CIE-LCHlch(44.12, 77.66, 309.16°)
OKLaboklab(53.95% 0.089 -0.1715)
OKLCHoklch(53.95% 0.193 297.4)
XYZxyz(22.2580, 13.9236, 59.8954)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BCE #9BCE4B
analogous
#4B59CE #7E4BCE #C04BCE
triadic
#7E4BCE #CE7E4B #4BCE7E
tetradic
#7E4BCE #CE4B59 #9BCE4B #4BCEC0
square
#7E4BCE #CE4B59 #9BCE4B #4BCEC0
split-complementary
#7E4BCE #CEC04B #59CE4B
monochromatic
#45227D #602FAD #7E4BCE #A07BDB #C3ABE8

Accessibility & contrast

On white

5.55
#7E4BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7E4BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BCE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BCE#FFFFFF#000000##FFFFFF
##7E4BCE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#6B6986
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e4bce;
/* rgb */ color: rgb(126, 75, 206);
/* oklch */ color: oklch(53.9% 0.193 297.4);
Tailwind
colors: {
  custom: {
    50: '#a980de',
    500: '#7e4bce',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bce;
$custom-light: #a980de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bce",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 263.359,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5395,
    "c": 0.19323,
    "h": 297.4
  },
  "luminance": 0.13924
}

Semantic roles & 50–950 ramp

primary
#7E4BCE
secondary
#C0D69F
accent
#E047A5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E4BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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