#7E55D5#7E55D5

#7E55D5 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.188 H 294.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7E55D5
RGBrgb(126, 85, 213)
HSLhsl(259, 60%, 58%)
HSVhsv(259, 60%, 84%)
CMYKcmyk(40.8%, 60.1%, 0%, 16.5%)
CIE-LABlab(46.63, 45.47, -60.18)
CIE-LCHlch(46.63, 75.43, 307.07°)
OKLaboklab(55.92% 0.0773 -0.1714)
OKLCHoklch(55.92% 0.188 294.3)
XYZxyz(23.8597, 15.7361, 64.7182)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55D5 #ACD555
analogous
#556CD5 #7E55D5 #BE55D5
triadic
#7E55D5 #D57E55 #55D57E
tetradic
#7E55D5 #D5556C #ACD555 #55D5BE
square
#7E55D5 #D5556C #ACD555 #55D5BE
split-complementary
#7E55D5 #D5BE55 #6CD555
monochromatic
#45238D #5D2FBE #7E55D5 #A386E1 #C8B7ED

Accessibility & contrast

On white

5.06
#7E55D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7E55D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55D5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55D5#FFFFFF#000000##FFFFFF
##7E55D51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0A6CD2
Tritanopia (blue-blind)
#67718D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e55d5;
/* rgb */ color: rgb(126, 85, 213);
/* oklch */ color: oklch(55.9% 0.188 294.3);
Tailwind
colors: {
  custom: {
    50: '#a987e3',
    500: '#7e55d5',
    950: '#000000',
  },
}
SCSS
$custom: #7e55d5;
$custom-light: #a987e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55d5",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 213
  },
  "hsl": {
    "h": 259.219,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55921,
    "c": 0.18805,
    "h": 294.3
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#7E55D5
secondary
#CCDCA9
accent
#E444B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7E55D5

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

Preview Lab → · Contrast checker → · Palette generator →

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