#7C4CCE#7C4CCE

#7C4CCE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.192 H 296.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7C4CCE
RGBrgb(124, 76, 206)
HSLhsl(262, 57%, 55%)
HSVhsv(262, 63%, 81%)
CMYKcmyk(39.8%, 63.1%, 0%, 19.2%)
CIE-LABlab(44.10, 48.09, -60.26)
CIE-LCHlch(44.10, 77.09, 308.59°)
OKLaboklab(53.89% 0.0852 -0.1717)
OKLCHoklch(53.89% 0.192 296.4)
XYZxyz(22.0343, 13.9098, 59.9045)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CCE #9ECE4C
analogous
#4C5DCE #7C4CCE #BD4CCE
triadic
#7C4CCE #CE7C4C #4CCE7C
tetradic
#7C4CCE #CE4C5D #9ECE4C #4CCEBD
square
#7C4CCE #CE4C5D #9ECE4C #4CCEBD
split-complementary
#7C4CCE #CEBD4C #5DCE4C
monochromatic
#44227D #5E2FAD #7C4CCE #9F7CDB #C2ACE8

Accessibility & contrast

On white

5.55
#7C4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7C4CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CCE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CCE#FFFFFF#000000##FFFFFF
##7C4CCE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#686986
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c4cce;
/* rgb */ color: rgb(124, 76, 206);
/* oklch */ color: oklch(53.9% 0.192 296.4);
Tailwind
colors: {
  custom: {
    50: '#a881de',
    500: '#7c4cce',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cce;
$custom-light: #a881de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cce",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 262.154,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.19169,
    "h": 296.4
  },
  "luminance": 0.1391
}

Semantic roles & 50–950 ramp

primary
#7C4CCE
secondary
#C2D6A0
accent
#E048A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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