#7C54CF#7C54CF

#7C54CF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.182 H 294.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7C54CF
RGBrgb(124, 84, 207)
HSLhsl(260, 56%, 57%)
HSVhsv(260, 59%, 81%)
CMYKcmyk(40.1%, 59.4%, 0%, 18.8%)
CIE-LABlab(45.81, 43.98, -58.07)
CIE-LCHlch(45.81, 72.84, 307.14°)
OKLaboklab(55.15% 0.076 -0.1653)
OKLCHoklch(55.15% 0.182 294.7)
XYZxyz(22.7420, 15.1302, 60.7416)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C54CF #A7CF54
analogous
#546ACF #7C54CF #B954CF
triadic
#7C54CF #CF7C54 #54CF7C
tetradic
#7C54CF #CF546A #A7CF54 #54CFB9
square
#7C54CF #CF546A #A7CF54 #54CFB9
split-complementary
#7C54CF #CFB954 #6ACF54
monochromatic
#442584 #5C32B3 #7C54CF #A184DC #C5B4EA

Accessibility & contrast

On white

5.22
#7C54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7C54CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C54CF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C54CF#FFFFFF#000000##FFFFFF
##7C54CF1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#166BCC
Tritanopia (blue-blind)
#676F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c54cf;
/* rgb */ color: rgb(124, 84, 207);
/* oklch */ color: oklch(55.2% 0.182 294.7);
Tailwind
colors: {
  custom: {
    50: '#a786de',
    500: '#7c54cf',
    950: '#000000',
  },
}
SCSS
$custom: #7c54cf;
$custom-light: #a786de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c54cf",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 259.512,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.18193,
    "h": 294.7
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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