#7E55D9#7E55D9

#7E55D9 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.193 H 293.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7E55D9
RGBrgb(126, 85, 217)
HSLhsl(259, 63%, 59%)
HSVhsv(259, 61%, 85%)
CMYKcmyk(41.9%, 60.8%, 0%, 14.9%)
CIE-LABlab(46.90, 46.55, -62.03)
CIE-LCHlch(46.90, 77.55, 306.89°)
OKLaboklab(56.21% 0.0771 -0.1769)
OKLCHoklch(56.21% 0.193 293.5)
XYZxyz(24.3737, 15.9417, 67.4251)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55D9 #B0D955
analogous
#556ED9 #7E55D9 #C055D9
triadic
#7E55D9 #D97E55 #55D97E
tetradic
#7E55D9 #D9556E #B0D955 #55D9C0
square
#7E55D9 #D9556E #B0D955 #55D9C0
split-complementary
#7E55D9 #D9C055 #6ED955
monochromatic
#442193 #5B2CC5 #7E55D9 #A487E4 #CAB9EF

Accessibility & contrast

On white

5.01
#7E55D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7E55D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55D9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55D9#FFFFFF#000000##FFFFFF
##7E55D91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#65738F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e55d9;
/* rgb */ color: rgb(126, 85, 217);
/* oklch */ color: oklch(56.2% 0.193 293.5);
Tailwind
colors: {
  custom: {
    50: '#a987e6',
    500: '#7e55d9',
    950: '#000000',
  },
}
SCSS
$custom: #7e55d9;
$custom-light: #a987e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55d9",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 217
  },
  "hsl": {
    "h": 258.636,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.19294,
    "h": 293.5
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

primary
#7E55D9
secondary
#CFDFAB
accent
#E641B3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7E55D9

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

Preview Lab → · Contrast checker → · Palette generator →

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