#7C4DD0#7C4DD0

#7C4DD0 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.193 H 295.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7C4DD0
RGBrgb(124, 77, 208)
HSLhsl(262, 58%, 56%)
HSVhsv(262, 63%, 82%)
CMYKcmyk(40.4%, 63%, 0%, 18.4%)
CIE-LABlab(44.44, 48.08, -60.86)
CIE-LCHlch(44.44, 77.56, 308.31°)
OKLaboklab(54.18% 0.0839 -0.1735)
OKLCHoklch(54.18% 0.193 295.8)
XYZxyz(22.3482, 14.1464, 61.2154)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4DD0 #A1D04D
analogous
#4D5FD0 #7C4DD0 #BD4DD0
triadic
#7C4DD0 #D07C4D #4DD07C
tetradic
#7C4DD0 #D04D5F #A1D04D #4DD0BD
square
#7C4DD0 #D04D5F #A1D04D #4DD0BD
split-complementary
#7C4DD0 #D0BD4D #5FD04D
monochromatic
#442281 #5D2FB1 #7C4DD0 #A07DDD #C3AEEA

Accessibility & contrast

On white

5.48
#7C4DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7C4DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4DD0
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4DD0#FFFFFF#000000##FFFFFF
##7C4DD01.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#676B87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c4dd0;
/* rgb */ color: rgb(124, 77, 208);
/* oklch */ color: oklch(54.2% 0.193 295.8);
Tailwind
colors: {
  custom: {
    50: '#a881df',
    500: '#7c4dd0',
    950: '#000000',
  },
}
SCSS
$custom: #7c4dd0;
$custom-light: #a881df;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4dd0",
  "rgb": {
    "r": 124,
    "g": 77,
    "b": 208
  },
  "hsl": {
    "h": 261.527,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.19272,
    "h": 295.8
  },
  "luminance": 0.14147
}

Semantic roles & 50–950 ramp

primary
#7C4DD0
secondary
#C4D8A1
accent
#E146AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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