#7B54BE#7B54BE

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

Color values

HEX#7B54BE
RGBrgb(123, 84, 190)
HSLhsl(262, 45%, 54%)
HSVhsv(262, 56%, 75%)
CMYKcmyk(35.3%, 55.8%, 0%, 25.5%)
CIE-LABlab(44.62, 39.21, -50.17)
CIE-LCHlch(44.62, 63.68, 308.01°)
OKLaboklab(53.9% 0.0748 -0.1421)
OKLCHoklch(53.9% 0.161 297.8)
XYZxyz(20.6307, 14.2690, 50.3725)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B54BE #97BE54
analogous
#5462BE #7B54BE #B054BE
triadic
#7B54BE #BE7B54 #54BE7B
tetradic
#7B54BE #BE5462 #97BE54 #54BEB0
square
#7B54BE #BE5462 #97BE54 #54BEB0
split-complementary
#7B54BE #BEB054 #62BE54
monochromatic
#432A6E #5E3B9A #7B54BE #9D80CF #BFADE0

Accessibility & contrast

On white

5.45
#7B54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7B54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B54BE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B54BE#FFFFFF#000000##FFFFFF
##7B54BE1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC2
Deuteranopia (green-blind)
#3268BC
Tritanopia (blue-blind)
#6C6A81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b54be;
/* rgb */ color: rgb(123, 84, 190);
/* oklch */ color: oklch(53.9% 0.161 297.8);
Tailwind
colors: {
  custom: {
    50: '#a585d2',
    500: '#7b54be',
    950: '#000000',
  },
}
SCSS
$custom: #7b54be;
$custom-light: #a585d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b54be",
  "rgb": {
    "r": 123,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 262.075,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.539,
    "c": 0.1606,
    "h": 297.8
  },
  "luminance": 0.14269
}

Semantic roles & 50–950 ramp

primary
#7B54BE
secondary
#BDCEA0
accent
#D553A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7B54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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