#7E55E8#7E55E8

#7E55E8 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.3% C 0.211 H 291.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7E55E8
RGBrgb(126, 85, 232)
HSLhsl(257, 76%, 62%)
HSVhsv(257, 63%, 91%)
CMYKcmyk(45.7%, 63.4%, 0%, 9%)
CIE-LABlab(47.95, 50.63, -68.82)
CIE-LCHlch(47.95, 85.44, 306.34°)
OKLaboklab(57.31% 0.0759 -0.1969)
OKLCHoklch(57.31% 0.211 291.1)
XYZxyz(26.4141, 16.7579, 78.1711)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55E8 #BFE855
analogous
#5575E8 #7E55E8 #C855E8
triadic
#7E55E8 #E87E55 #55E87E
tetradic
#7E55E8 #E85575 #BFE855 #55E8C8
square
#7E55E8 #E85575 #BFE855 #55E8C8
split-complementary
#7E55E8 #E8C855 #75E855
monochromatic
#4117AB #551FE1 #7E55E8 #A78BEF #D0C1F7

Accessibility & contrast

On white

4.83
#7E55E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7E55E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55E8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55E8#FFFFFF#000000##FFFFFF
##7E55E81.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#006FE5
Tritanopia (blue-blind)
#5E7897
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e55e8;
/* rgb */ color: rgb(126, 85, 232);
/* oklch */ color: oklch(57.3% 0.211 291.1);
Tailwind
colors: {
  custom: {
    50: '#ab87f0',
    500: '#7e55e8',
    950: '#000000',
  },
}
SCSS
$custom: #7e55e8;
$custom-light: #ab87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55e8",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 256.735,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.21099,
    "h": 291.1
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#7E55E8
secondary
#D8E7B1
accent
#D80DA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E55E8

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

Preview Lab → · Contrast checker → · Palette generator →

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