#7E55DC#7E55DC

#7E55DC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.197 H 293.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7E55DC
RGBrgb(126, 85, 220)
HSLhsl(258, 66%, 60%)
HSVhsv(258, 61%, 86%)
CMYKcmyk(42.7%, 61.4%, 0%, 13.7%)
CIE-LABlab(47.10, 47.36, -63.40)
CIE-LCHlch(47.10, 79.14, 306.76°)
OKLaboklab(56.42% 0.0769 -0.1809)
OKLCHoklch(56.42% 0.197 293)
XYZxyz(24.7674, 16.0992, 69.4988)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55DC #B3DC55
analogous
#5570DC #7E55DC #C155DC
triadic
#7E55DC #DC7E55 #55DC7E
tetradic
#7E55DC #DC5570 #B3DC55 #55DCC1
square
#7E55DC #DC5570 #B3DC55 #55DCC1
split-complementary
#7E55DC #DCC155 #70DC55
monochromatic
#441F97 #5A2ACA #7E55DC #A588E6 #CBBBF1

Accessibility & contrast

On white

4.98
#7E55DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7E55DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55DC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55DC#FFFFFF#000000##FFFFFF
##7E55DC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#647491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e55dc;
/* rgb */ color: rgb(126, 85, 220);
/* oklch */ color: oklch(56.4% 0.197 293.0);
Tailwind
colors: {
  custom: {
    50: '#aa87e8',
    500: '#7e55dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e55dc;
$custom-light: #aa87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55dc",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 258.222,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.19658,
    "h": 293
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#7E55DC
secondary
#D1E0AC
accent
#E93FB5
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E55DC

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

Preview Lab → · Contrast checker → · Palette generator →

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