#7B54CE#7B54CE

#7B54CE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.181 H 294.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7B54CE
RGBrgb(123, 84, 206)
HSLhsl(259, 55%, 57%)
HSVhsv(259, 59%, 81%)
CMYKcmyk(40.3%, 59.2%, 0%, 19.2%)
CIE-LABlab(45.64, 43.49, -57.77)
CIE-LCHlch(45.64, 72.31, 306.97°)
OKLaboklab(54.98% 0.0747 -0.1645)
OKLCHoklch(54.98% 0.181 294.4)
XYZxyz(22.4763, 15.0073, 60.0930)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B54CE #A7CE54
analogous
#546ACE #7B54CE #B854CE
triadic
#7B54CE #CE7B54 #54CE7B
tetradic
#7B54CE #CE546A #A7CE54 #54CEB8
square
#7B54CE #CE546A #A7CE54 #54CEB8
split-complementary
#7B54CE #CEB854 #6ACE54
monochromatic
#432582 #5C33B2 #7B54CE #A084DC #C4B3E9

Accessibility & contrast

On white

5.25
#7B54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7B54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B54CE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B54CE#FFFFFF#000000##FFFFFF
##7B54CE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#176ACB
Tritanopia (blue-blind)
#666F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b54ce;
/* rgb */ color: rgb(123, 84, 206);
/* oklch */ color: oklch(55.0% 0.181 294.4);
Tailwind
colors: {
  custom: {
    50: '#a686de',
    500: '#7b54ce',
    950: '#000000',
  },
}
SCSS
$custom: #7b54ce;
$custom-light: #a686de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b54ce",
  "rgb": {
    "r": 123,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 259.18,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.18064,
    "h": 294.4
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#7B54CE
secondary
#C8D8A6
accent
#DF49AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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