#7E55EA#7E55EA

#7E55EA is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.213 H 290.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7E55EA
RGBrgb(126, 85, 234)
HSLhsl(257, 78%, 63%)
HSVhsv(257, 64%, 92%)
CMYKcmyk(46.2%, 63.7%, 0%, 8.2%)
CIE-LABlab(48.10, 51.17, -69.71)
CIE-LCHlch(48.10, 86.48, 306.28°)
OKLaboklab(57.46% 0.0757 -0.1995)
OKLCHoklch(57.46% 0.213 290.8)
XYZxyz(26.6998, 16.8722, 79.6758)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55EA #C1EA55
analogous
#5577EA #7E55EA #C855EA
triadic
#7E55EA #EA7E55 #55EA7E
tetradic
#7E55EA #EA5577 #C1EA55 #55EAC8
square
#7E55EA #EA5577 #C1EA55 #55EAC8
split-complementary
#7E55EA #EAC855 #77EA55
monochromatic
#4016AF #551FE3 #7E55EA #A78BF1 #D1C2F7

Accessibility & contrast

On white

4.80
#7E55EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7E55EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55EA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55EA#FFFFFF#000000##FFFFFF
##7E55EA1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#5C7998
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e55ea;
/* rgb */ color: rgb(126, 85, 234);
/* oklch */ color: oklch(57.5% 0.213 290.8);
Tailwind
colors: {
  custom: {
    50: '#ab87f2',
    500: '#7e55ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e55ea;
$custom-light: #ab87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55ea",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 256.51,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.21337,
    "h": 290.8
  },
  "luminance": 0.16873
}

Semantic roles & 50–950 ramp

primary
#7E55EA
secondary
#DAE8B2
accent
#DA0BA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E55EA

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

Preview Lab → · Contrast checker → · Palette generator →

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