#7E55ED#7E55ED

#7E55ED is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.217 H 290.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7E55ED
RGBrgb(126, 85, 237)
HSLhsl(256, 81%, 63%)
HSVhsv(256, 64%, 93%)
CMYKcmyk(46.8%, 64.1%, 0%, 7.1%)
CIE-LABlab(48.32, 52.00, -71.04)
CIE-LCHlch(48.32, 88.04, 306.20°)
OKLaboklab(57.68% 0.0754 -0.2034)
OKLCHoklch(57.68% 0.217 290.3)
XYZxyz(27.1344, 17.0460, 81.9648)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55ED #C4ED55
analogous
#5578ED #7E55ED #CA55ED
triadic
#7E55ED #ED7E55 #55ED7E
tetradic
#7E55ED #ED5578 #C4ED55 #55EDCA
square
#7E55ED #ED5578 #C4ED55 #55EDCA
split-complementary
#7E55ED #EDCA55 #78ED55
monochromatic
#3F13B4 #541EE7 #7E55ED #A88CF3 #D2C4F9

Accessibility & contrast

On white

4.76
#7E55ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7E55ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55ED
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55ED#FFFFFF#000000##FFFFFF
##7E55ED1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#006FEA
Tritanopia (blue-blind)
#5B7A9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e55ed;
/* rgb */ color: rgb(126, 85, 237);
/* oklch */ color: oklch(57.7% 0.217 290.3);
Tailwind
colors: {
  custom: {
    50: '#ab87f4',
    500: '#7e55ed',
    950: '#000000',
  },
}
SCSS
$custom: #7e55ed;
$custom-light: #ab87f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55ed",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 237
  },
  "hsl": {
    "h": 256.184,
    "s": 80.851,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.21692,
    "h": 290.3
  },
  "luminance": 0.17047
}

Semantic roles & 50–950 ramp

primary
#7E55ED
secondary
#DBEAB4
accent
#DD08A4
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E55ED

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

Preview Lab → · Contrast checker → · Palette generator →

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