#7E55BD#7E55BD

#7E55BD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.3% C 0.158 H 299.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E55BD
RGBrgb(126, 85, 189)
HSLhsl(264, 44%, 54%)
HSVhsv(264, 55%, 74%)
CMYKcmyk(33.3%, 55%, 0%, 25.9%)
CIE-LABlab(45.09, 39.12, -48.81)
CIE-LCHlch(45.09, 62.55, 308.71°)
OKLaboklab(54.3% 0.0774 -0.138)
OKLCHoklch(54.3% 0.158 299.3)
XYZxyz(21.0358, 14.6066, 49.8453)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55BD #94BD55
analogous
#5560BD #7E55BD #B255BD
triadic
#7E55BD #BD7E55 #55BD7E
tetradic
#7E55BD #BD5560 #94BD55 #55BDB2
square
#7E55BD #BD5560 #94BD55 #55BDB2
split-complementary
#7E55BD #BDB255 #60BD55
monochromatic
#452A6D #603C99 #7E55BD #9F81CE #C1ADDF

Accessibility & contrast

On white

5.36
#7E55BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7E55BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55BD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55BD#FFFFFF#000000##FFFFFF
##7E55BD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC0
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#716A81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e55bd;
/* rgb */ color: rgb(126, 85, 189);
/* oklch */ color: oklch(54.3% 0.158 299.3);
Tailwind
colors: {
  custom: {
    50: '#a786d1',
    500: '#7e55bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e55bd;
$custom-light: #a786d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55bd",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 263.654,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.15826,
    "h": 299.3
  },
  "luminance": 0.14607
}

Semantic roles & 50–950 ramp

primary
#7E55BD
secondary
#BCCDA1
accent
#D454A1
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7E55BD

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

Preview Lab → · Contrast checker → · Palette generator →

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