#7E55BC#7E55BC

#7E55BC is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.157 H 299.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7E55BC
RGBrgb(126, 85, 188)
HSLhsl(264, 43%, 54%)
HSVhsv(264, 55%, 74%)
CMYKcmyk(33%, 54.8%, 0%, 26.3%)
CIE-LABlab(45.03, 38.86, -48.33)
CIE-LCHlch(45.03, 62.01, 308.80°)
OKLaboklab(54.24% 0.0774 -0.1366)
OKLCHoklch(54.24% 0.157 299.5)
XYZxyz(20.9276, 14.5633, 49.2756)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55BC #93BC55
analogous
#555FBC #7E55BC #B155BC
triadic
#7E55BC #BC7E55 #55BC7E
tetradic
#7E55BC #BC555F #93BC55 #55BCB1
square
#7E55BC #BC555F #93BC55 #55BCB1
split-complementary
#7E55BC #BCB155 #5FBC55
monochromatic
#452B6C #613C98 #7E55BC #9F81CD #C1ADDF

Accessibility & contrast

On white

5.37
#7E55BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7E55BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55BC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55BC#FFFFFF#000000##FFFFFF
##7E55BC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#716980
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e55bc;
/* rgb */ color: rgb(126, 85, 188);
/* oklch */ color: oklch(54.2% 0.157 299.5);
Tailwind
colors: {
  custom: {
    50: '#a786d1',
    500: '#7e55bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e55bc;
$custom-light: #a786d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55bc",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 263.883,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54239,
    "c": 0.15701,
    "h": 299.5
  },
  "luminance": 0.14563
}

Semantic roles & 50–950 ramp

primary
#7E55BC
secondary
#BBCCA0
accent
#D355A1
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7E55BC

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

Preview Lab → · Contrast checker → · Palette generator →

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