#7E55E4#7E55E4

#7E55E4 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.0% C 0.206 H 291.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7E55E4
RGBrgb(126, 85, 228)
HSLhsl(257, 73%, 61%)
HSVhsv(257, 63%, 89%)
CMYKcmyk(44.7%, 62.7%, 0%, 10.6%)
CIE-LABlab(47.67, 49.54, -67.03)
CIE-LCHlch(47.67, 83.34, 306.47°)
OKLaboklab(57.01% 0.0763 -0.1916)
OKLCHoklch(57.01% 0.206 291.7)
XYZxyz(25.8524, 16.5332, 75.2128)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55E4 #BBE455
analogous
#5574E4 #7E55E4 #C655E4
triadic
#7E55E4 #E47E55 #55E47E
tetradic
#7E55E4 #E45574 #BBE455 #55E4C6
square
#7E55E4 #E45574 #BBE455 #55E4C6
split-complementary
#7E55E4 #E4C655 #74E455
monochromatic
#421AA4 #5723D9 #7E55E4 #A68AEC #CEBFF5

Accessibility & contrast

On white

4.88
#7E55E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7E55E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55E4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55E4#FFFFFF#000000##FFFFFF
##7E55E41.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#607695
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e55e4;
/* rgb */ color: rgb(126, 85, 228);
/* oklch */ color: oklch(57.0% 0.206 291.7);
Tailwind
colors: {
  custom: {
    50: '#aa87ed',
    500: '#7e55e4',
    950: '#000000',
  },
}
SCSS
$custom: #7e55e4;
$custom-light: #aa87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55e4",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 257.203,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.20621,
    "h": 291.7
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#7E55E4
secondary
#D6E5B0
accent
#D5119D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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