#7E55E2#7E55E2

#7E55E2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.9% C 0.204 H 292.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7E55E2
RGBrgb(126, 85, 226)
HSLhsl(257, 71%, 61%)
HSVhsv(257, 62%, 89%)
CMYKcmyk(44.2%, 62.4%, 0%, 11.4%)
CIE-LABlab(47.52, 48.99, -66.13)
CIE-LCHlch(47.52, 82.30, 306.53°)
OKLaboklab(56.86% 0.0765 -0.1889)
OKLCHoklch(56.86% 0.204 292)
XYZxyz(25.5764, 16.4228, 73.7591)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55E2 #B9E255
analogous
#5572E2 #7E55E2 #C455E2
triadic
#7E55E2 #E27E55 #55E27E
tetradic
#7E55E2 #E25572 #B9E255 #55E2C4
square
#7E55E2 #E25572 #B9E255 #55E2C4
split-complementary
#7E55E2 #E2C455 #72E255
monochromatic
#421BA1 #5824D5 #7E55E2 #A689EB #CDBEF4

Accessibility & contrast

On white

4.90
#7E55E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7E55E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55E2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55E2#FFFFFF#000000##FFFFFF
##7E55E21.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#617694
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e55e2;
/* rgb */ color: rgb(126, 85, 226);
/* oklch */ color: oklch(56.9% 0.204 292.0);
Tailwind
colors: {
  custom: {
    50: '#aa87ec',
    500: '#7e55e2',
    950: '#000000',
  },
}
SCSS
$custom: #7e55e2;
$custom-light: #aa87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55e2",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 257.447,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56859,
    "c": 0.20381,
    "h": 292
  },
  "luminance": 0.16424
}

Semantic roles & 50–950 ramp

primary
#7E55E2
secondary
#D5E4AF
accent
#D3139B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E55E2

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

Preview Lab → · Contrast checker → · Palette generator →

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