#7C54CE#7C54CE

#7C54CE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.181 H 294.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C54CE
RGBrgb(124, 84, 206)
HSLhsl(260, 55%, 57%)
HSVhsv(260, 59%, 81%)
CMYKcmyk(39.8%, 59.2%, 0%, 19.2%)
CIE-LABlab(45.75, 43.71, -57.60)
CIE-LCHlch(45.75, 72.31, 307.19°)
OKLaboklab(55.08% 0.076 -0.1639)
OKLCHoklch(55.08% 0.181 294.9)
XYZxyz(22.6201, 15.0815, 60.0998)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C54CE #A6CE54
analogous
#5469CE #7C54CE #B954CE
triadic
#7C54CE #CE7C54 #54CE7C
tetradic
#7C54CE #CE5469 #A6CE54 #54CEB9
square
#7C54CE #CE5469 #A6CE54 #54CEB9
split-complementary
#7C54CE #CEB954 #69CE54
monochromatic
#442582 #5D33B2 #7C54CE #A084DC #C5B3E9

Accessibility & contrast

On white

5.23
#7C54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7C54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C54CE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C54CE#FFFFFF#000000##FFFFFF
##7C54CE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c54ce;
/* rgb */ color: rgb(124, 84, 206);
/* oklch */ color: oklch(55.1% 0.181 294.9);
Tailwind
colors: {
  custom: {
    50: '#a786de',
    500: '#7c54ce',
    950: '#000000',
  },
}
SCSS
$custom: #7c54ce;
$custom-light: #a786de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c54ce",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 259.672,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55081,
    "c": 0.1807,
    "h": 294.9
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#7C54CE
secondary
#C7D8A6
accent
#DF49AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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