#7C4CCF#7C4CCF

#7C4CCF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.193 H 296.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7C4CCF
RGBrgb(124, 76, 207)
HSLhsl(262, 58%, 55%)
HSVhsv(262, 63%, 81%)
CMYKcmyk(40.1%, 63.3%, 0%, 18.8%)
CIE-LABlab(44.17, 48.35, -60.72)
CIE-LCHlch(44.17, 77.62, 308.53°)
OKLaboklab(53.96% 0.0851 -0.1731)
OKLCHoklch(53.96% 0.193 296.2)
XYZxyz(22.1562, 13.9585, 60.5463)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CCF #9FCF4C
analogous
#4C5DCF #7C4CCF #BE4CCF
triadic
#7C4CCF #CF7C4C #4CCF7C
tetradic
#7C4CCF #CF4C5D #9FCF4C #4CCFBE
square
#7C4CCF #CF4C5D #9FCF4C #4CCFBE
split-complementary
#7C4CCF #CFBE4C #5DCF4C
monochromatic
#44227F #5E2FAF #7C4CCF #9F7CDC #C3ADE9

Accessibility & contrast

On white

5.54
#7C4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7C4CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CCF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CCF#FFFFFF#000000##FFFFFF
##7C4CCF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#676A87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c4ccf;
/* rgb */ color: rgb(124, 76, 207);
/* oklch */ color: oklch(54.0% 0.193 296.2);
Tailwind
colors: {
  custom: {
    50: '#a881de',
    500: '#7c4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ccf;
$custom-light: #a881de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ccf",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 261.985,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53958,
    "c": 0.19287,
    "h": 296.2
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#7C4CCF
secondary
#C3D7A0
accent
#E147A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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