#7E55BE#7E55BE

#7E55BE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.4% C 0.160 H 299.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E55BE
RGBrgb(126, 85, 190)
HSLhsl(263, 45%, 54%)
HSVhsv(263, 55%, 75%)
CMYKcmyk(33.7%, 55.3%, 0%, 25.5%)
CIE-LABlab(45.15, 39.38, -49.30)
CIE-LCHlch(45.15, 63.10, 308.62°)
OKLaboklab(54.37% 0.0774 -0.1395)
OKLCHoklch(54.37% 0.16 299)
XYZxyz(21.1447, 14.6501, 50.4190)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55BE #95BE55
analogous
#5561BE #7E55BE #B355BE
triadic
#7E55BE #BE7E55 #55BE7E
tetradic
#7E55BE #BE5561 #95BE55 #55BEB3
square
#7E55BE #BE5561 #95BE55 #55BEB3
split-complementary
#7E55BE #BEB355 #61BE55
monochromatic
#452A6E #603B9B #7E55BE #A081CF #C1AEE0

Accessibility & contrast

On white

5.34
#7E55BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7E55BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55BE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55BE#FFFFFF#000000##FFFFFF
##7E55BE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC2
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#706A81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e55be;
/* rgb */ color: rgb(126, 85, 190);
/* oklch */ color: oklch(54.4% 0.160 299.0);
Tailwind
colors: {
  custom: {
    50: '#a786d2',
    500: '#7e55be',
    950: '#000000',
  },
}
SCSS
$custom: #7e55be;
$custom-light: #a786d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55be",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 263.429,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.15952,
    "h": 299
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

primary
#7E55BE
secondary
#BCCEA1
accent
#D453A2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7E55BE

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

Preview Lab → · Contrast checker → · Palette generator →

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