#7E55EE#7E55EE

#7E55EE is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.218 H 290.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7E55EE
RGBrgb(126, 85, 238)
HSLhsl(256, 82%, 63%)
HSVhsv(256, 64%, 93%)
CMYKcmyk(47.1%, 64.3%, 0%, 6.7%)
CIE-LABlab(48.39, 52.27, -71.49)
CIE-LCHlch(48.39, 88.56, 306.17°)
OKLaboklab(57.76% 0.0753 -0.2047)
OKLCHoklch(57.76% 0.218 290.2)
XYZxyz(27.2809, 17.1046, 82.7364)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55EE #C5EE55
analogous
#5578EE #7E55EE #CA55EE
triadic
#7E55EE #EE7E55 #55EE7E
tetradic
#7E55EE #EE5578 #C5EE55 #55EECA
square
#7E55EE #EE5578 #C5EE55 #55EECA
split-complementary
#7E55EE #EECA55 #78EE55
monochromatic
#3E12B6 #541DE8 #7E55EE #A88DF4 #D2C4F9

Accessibility & contrast

On white

4.75
#7E55EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7E55EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55EE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55EE#FFFFFF#000000##FFFFFF
##7E55EE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#5A7A9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e55ee;
/* rgb */ color: rgb(126, 85, 238);
/* oklch */ color: oklch(57.8% 0.218 290.2);
Tailwind
colors: {
  custom: {
    50: '#ac87f5',
    500: '#7e55ee',
    950: '#000000',
  },
}
SCSS
$custom: #7e55ee;
$custom-light: #ac87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55ee",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 256.078,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5776,
    "c": 0.2181,
    "h": 290.2
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#7E55EE
secondary
#DCEBB4
accent
#DE07A5
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E55EE

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

Preview Lab → · Contrast checker → · Palette generator →

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