#7E55EC#7E55EC

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

Color values

HEX#7E55EC
RGBrgb(126, 85, 236)
HSLhsl(256, 80%, 63%)
HSVhsv(256, 64%, 93%)
CMYKcmyk(46.6%, 64%, 0%, 7.5%)
CIE-LABlab(48.24, 51.72, -70.60)
CIE-LCHlch(48.24, 87.52, 306.23°)
OKLaboklab(57.61% 0.0755 -0.2021)
OKLCHoklch(57.61% 0.216 290.5)
XYZxyz(26.9887, 16.9877, 81.1976)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55EC #C3EC55
analogous
#5578EC #7E55EC #C955EC
triadic
#7E55EC #EC7E55 #55EC7E
tetradic
#7E55EC #EC5578 #C3EC55 #55ECC9
square
#7E55EC #EC5578 #C3EC55 #55ECC9
split-complementary
#7E55EC #ECC955 #78EC55
monochromatic
#3F14B3 #541EE6 #7E55EC #A88CF2 #D2C3F8

Accessibility & contrast

On white

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

On black

4.40
#7E55EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E55EC#FFFFFF#000000##FFFFFF
##7E55EC1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#5B7999
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e55ec;
/* rgb */ color: rgb(126, 85, 236);
/* oklch */ color: oklch(57.6% 0.216 290.5);
Tailwind
colors: {
  custom: {
    50: '#ab87f3',
    500: '#7e55ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e55ec;
$custom-light: #ab87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55ec",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 256.291,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.21574,
    "h": 290.5
  },
  "luminance": 0.16989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E55EC

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

Preview Lab → · Contrast checker → · Palette generator →

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