#7E55BB#7E55BB

#7E55BB is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.2% C 0.156 H 299.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7E55BB
RGBrgb(126, 85, 187)
HSLhsl(264, 43%, 53%)
HSVhsv(264, 55%, 73%)
CMYKcmyk(32.6%, 54.5%, 0%, 26.7%)
CIE-LABlab(44.97, 38.60, -47.84)
CIE-LCHlch(44.97, 61.47, 308.90°)
OKLaboklab(54.18% 0.0773 -0.1352)
OKLCHoklch(54.18% 0.156 299.8)
XYZxyz(20.8202, 14.5203, 48.7099)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55BB #92BB55
analogous
#555FBB #7E55BB #B155BB
triadic
#7E55BB #BB7E55 #55BB7E
tetradic
#7E55BB #BB555F #92BB55 #55BBB1
square
#7E55BB #BB555F #92BB55 #55BBB1
split-complementary
#7E55BB #BBB155 #5FBB55
monochromatic
#452B6B #613C97 #7E55BB #9F81CC #C0ACDE

Accessibility & contrast

On white

5.38
#7E55BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7E55BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55BB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55BB#FFFFFF#000000##FFFFFF
##7E55BB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#716980
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e55bb;
/* rgb */ color: rgb(126, 85, 187);
/* oklch */ color: oklch(54.2% 0.156 299.8);
Tailwind
colors: {
  custom: {
    50: '#a786d0',
    500: '#7e55bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e55bb;
$custom-light: #a786d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55bb",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 264.118,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.15574,
    "h": 299.8
  },
  "luminance": 0.1452
}

Semantic roles & 50–950 ramp

primary
#7E55BB
secondary
#BACCA0
accent
#D355A0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7E55BB

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

Preview Lab → · Contrast checker → · Palette generator →

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