#7C54BE#7C54BE

#7C54BE is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.161 H 298.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7C54BE
RGBrgb(124, 84, 190)
HSLhsl(263, 45%, 54%)
HSVhsv(263, 56%, 75%)
CMYKcmyk(34.7%, 55.8%, 0%, 25.5%)
CIE-LABlab(44.72, 39.46, -50.00)
CIE-LCHlch(44.72, 63.69, 308.28°)
OKLaboklab(54% 0.0761 -0.1416)
OKLCHoklch(54% 0.161 298.3)
XYZxyz(20.7745, 14.3432, 50.3792)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C54BE #96BE54
analogous
#5461BE #7C54BE #B154BE
triadic
#7C54BE #BE7C54 #54BE7C
tetradic
#7C54BE #BE5461 #96BE54 #54BEB1
square
#7C54BE #BE5461 #96BE54 #54BEB1
split-complementary
#7C54BE #BEB154 #61BE54
monochromatic
#432A6E #5F3B9A #7C54BE #9E80CF #C0ADE0

Accessibility & contrast

On white

5.43
#7C54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7C54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C54BE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C54BE#FFFFFF#000000##FFFFFF
##7C54BE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC2
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#6D6A81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c54be;
/* rgb */ color: rgb(124, 84, 190);
/* oklch */ color: oklch(54.0% 0.161 298.3);
Tailwind
colors: {
  custom: {
    50: '#a685d2',
    500: '#7c54be',
    950: '#000000',
  },
}
SCSS
$custom: #7c54be;
$custom-light: #a685d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c54be",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 262.642,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.16074,
    "h": 298.3
  },
  "luminance": 0.14343
}

Semantic roles & 50–950 ramp

primary
#7C54BE
secondary
#BCCEA0
accent
#D553A4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7C54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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