#7C54CD#7C54CD

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

Color values

HEX#7C54CD
RGBrgb(124, 84, 205)
HSLhsl(260, 55%, 57%)
HSVhsv(260, 59%, 80%)
CMYKcmyk(39.5%, 59%, 0%, 19.6%)
CIE-LABlab(45.68, 43.44, -57.13)
CIE-LCHlch(45.68, 71.77, 307.25°)
OKLaboklab(55.01% 0.0761 -0.1625)
OKLCHoklch(55.01% 0.179 295.1)
XYZxyz(22.4991, 15.0330, 59.4620)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C54CD #A5CD54
analogous
#5469CD #7C54CD #B954CD
triadic
#7C54CD #CD7C54 #54CD7C
tetradic
#7C54CD #CD5469 #A5CD54 #54CDB9
square
#7C54CD #CD5469 #A5CD54 #54CDB9
split-complementary
#7C54CD #CDB954 #69CD54
monochromatic
#442681 #5D34B0 #7C54CD #A083DB #C5B3E9

Accessibility & contrast

On white

5.24
#7C54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7C54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C54CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C54CD#FFFFFF#000000##FFFFFF
##7C54CD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#1B6ACA
Tritanopia (blue-blind)
#686E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c54cd;
/* rgb */ color: rgb(124, 84, 205);
/* oklch */ color: oklch(55.0% 0.179 295.1);
Tailwind
colors: {
  custom: {
    50: '#a786dd',
    500: '#7c54cd',
    950: '#000000',
  },
}
SCSS
$custom: #7c54cd;
$custom-light: #a786dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c54cd",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 259.835,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55012,
    "c": 0.17946,
    "h": 295.1
  },
  "luminance": 0.15034
}

Semantic roles & 50–950 ramp

primary
#7C54CD
secondary
#C7D7A6
accent
#DE4AAD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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