#7E54EE#7E54EE

#7E54EE is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.219 H 290.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7E54EE
RGBrgb(126, 84, 238)
HSLhsl(256, 82%, 63%)
HSVhsv(256, 65%, 93%)
CMYKcmyk(47.1%, 64.7%, 0%, 6.7%)
CIE-LABlab(48.19, 52.80, -71.81)
CIE-LCHlch(48.19, 89.13, 306.33°)
OKLaboklab(57.62% 0.0763 -0.2056)
OKLCHoklch(57.62% 0.219 290.4)
XYZxyz(27.2027, 16.9483, 82.7104)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E54EE #C4EE54
analogous
#5477EE #7E54EE #CB54EE
triadic
#7E54EE #EE7E54 #54EE7E
tetradic
#7E54EE #EE5477 #C4EE54 #54EECB
square
#7E54EE #EE5477 #C4EE54 #54EECB
split-complementary
#7E54EE #EECB54 #77EE54
monochromatic
#3F12B6 #541CE8 #7E54EE #A88CF4 #D2C3F9

Accessibility & contrast

On white

4.78
#7E54EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7E54EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E54EE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E54EE#FFFFFF#000000##FFFFFF
##7E54EE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#5A799A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e54ee;
/* rgb */ color: rgb(126, 84, 238);
/* oklch */ color: oklch(57.6% 0.219 290.4);
Tailwind
colors: {
  custom: {
    50: '#ac86f5',
    500: '#7e54ee',
    950: '#000000',
  },
}
SCSS
$custom: #7e54ee;
$custom-light: #ac86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e54ee",
  "rgb": {
    "r": 126,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 256.364,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.21933,
    "h": 290.4
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#7E54EE
secondary
#DBEAB3
accent
#DE07A4
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E54EE

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

Preview Lab → · Contrast checker → · Palette generator →

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