#7C4CDC#7C4CDC

#7C4CDC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.208 H 293.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7C4CDC
RGBrgb(124, 76, 220)
HSLhsl(260, 67%, 58%)
HSVhsv(260, 65%, 86%)
CMYKcmyk(43.6%, 65.5%, 0%, 13.7%)
CIE-LABlab(45.11, 51.79, -66.64)
CIE-LCHlch(45.11, 84.40, 307.85°)
OKLaboklab(54.93% 0.0837 -0.1905)
OKLCHoklch(54.93% 0.208 293.7)
XYZxyz(23.8114, 14.6206, 69.2638)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CDC #ACDC4C
analogous
#4C64DC #7C4CDC #C44CDC
triadic
#7C4CDC #DC7C4C #4CDC7C
tetradic
#7C4CDC #DC4C64 #ACDC4C #4CDCC4
square
#7C4CDC #DC4C64 #ACDC4C #4CDCC4
split-complementary
#7C4CDC #DCC44C #64DC4C
monochromatic
#431C91 #5B26C4 #7C4CDC #A17FE6 #C7B2F0

Accessibility & contrast

On white

5.35
#7C4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7C4CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CDC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CDC#FFFFFF#000000##FFFFFF
##7C4CDC1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#616E8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4cdc;
/* rgb */ color: rgb(124, 76, 220);
/* oklch */ color: oklch(54.9% 0.208 293.7);
Tailwind
colors: {
  custom: {
    50: '#a981e8',
    500: '#7c4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cdc;
$custom-light: #a981e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cdc",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 260,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.2081,
    "h": 293.7
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#7C4CDC
secondary
#CBDFA5
accent
#EA3EB1
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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