#7E55EB#7E55EB

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

Color values

HEX#7E55EB
RGBrgb(126, 85, 235)
HSLhsl(256, 79%, 63%)
HSVhsv(256, 64%, 92%)
CMYKcmyk(46.4%, 63.8%, 0%, 7.8%)
CIE-LABlab(48.17, 51.45, -70.16)
CIE-LCHlch(48.17, 87.00, 306.25°)
OKLaboklab(57.53% 0.0756 -0.2008)
OKLCHoklch(57.53% 0.215 290.6)
XYZxyz(26.8438, 16.9298, 80.4345)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55EB #C2EB55
analogous
#5577EB #7E55EB #C955EB
triadic
#7E55EB #EB7E55 #55EB7E
tetradic
#7E55EB #EB5577 #C2EB55 #55EBC9
square
#7E55EB #EB5577 #C2EB55 #55EBC9
split-complementary
#7E55EB #EBC955 #77EB55
monochromatic
#3F15B1 #541EE5 #7E55EB #A88CF1 #D1C3F8

Accessibility & contrast

On white

4.79
#7E55EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E55EB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55EB#FFFFFF#000000##FFFFFF
##7E55EB1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#5C7999
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e55eb;
/* rgb */ color: rgb(126, 85, 235);
/* oklch */ color: oklch(57.5% 0.215 290.6);
Tailwind
colors: {
  custom: {
    50: '#ab87f2',
    500: '#7e55eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e55eb;
$custom-light: #ab87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55eb",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 256.4,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.21456,
    "h": 290.6
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

primary
#7E55EB
secondary
#DAE9B3
accent
#DB0AA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E55EB

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

Preview Lab → · Contrast checker → · Palette generator →

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