#7E55E7#7E55E7

#7E55E7 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.2% C 0.210 H 291.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7E55E7
RGBrgb(126, 85, 231)
HSLhsl(257, 75%, 62%)
HSVhsv(257, 63%, 91%)
CMYKcmyk(45.5%, 63.2%, 0%, 9.4%)
CIE-LABlab(47.88, 50.35, -68.37)
CIE-LCHlch(47.88, 84.91, 306.37°)
OKLaboklab(57.23% 0.076 -0.1955)
OKLCHoklch(57.23% 0.21 291.2)
XYZxyz(26.2725, 16.7012, 77.4252)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55E7 #BEE755
analogous
#5575E7 #7E55E7 #C755E7
triadic
#7E55E7 #E77E55 #55E77E
tetradic
#7E55E7 #E75575 #BEE755 #55E7C7
square
#7E55E7 #E75575 #BEE755 #55E7C7
split-complementary
#7E55E7 #E7C755 #75E755
monochromatic
#4118AA #5520DF #7E55E7 #A78BEF #CFC0F6

Accessibility & contrast

On white

4.84
#7E55E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7E55E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55E7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55E7#FFFFFF#000000##FFFFFF
##7E55E71.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#5E7896
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e55e7;
/* rgb */ color: rgb(126, 85, 231);
/* oklch */ color: oklch(57.2% 0.210 291.2);
Tailwind
colors: {
  custom: {
    50: '#ab87f0',
    500: '#7e55e7',
    950: '#000000',
  },
}
SCSS
$custom: #7e55e7;
$custom-light: #ab87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55e7",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 256.849,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57231,
    "c": 0.2098,
    "h": 291.2
  },
  "luminance": 0.16702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E55E7

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

Preview Lab → · Contrast checker → · Palette generator →

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