#7C4DE0#7C4DE0

#7C4DE0 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.212 H 292.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7C4DE0
RGBrgb(124, 77, 224)
HSLhsl(259, 70%, 59%)
HSVhsv(259, 66%, 88%)
CMYKcmyk(44.6%, 65.6%, 0%, 12.2%)
CIE-LABlab(45.60, 52.34, -68.13)
CIE-LCHlch(45.60, 85.91, 307.53°)
OKLaboklab(55.37% 0.0822 -0.1949)
OKLCHoklch(55.37% 0.212 292.9)
XYZxyz(24.4169, 14.9739, 72.1103)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4DE0 #B1E04D
analogous
#4D68E0 #7C4DE0 #C64DE0
triadic
#7C4DE0 #E07C4D #4DE07C
tetradic
#7C4DE0 #E04D68 #B1E04D #4DE0C6
square
#7C4DE0 #E04D68 #B1E04D #4DE0C6
split-complementary
#7C4DE0 #E0C64D #68E04D
monochromatic
#431A98 #5924CC #7C4DE0 #A281E9 #C9B5F2

Accessibility & contrast

On white

5.26
#7C4DE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7C4DE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4DE0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4DE0#FFFFFF#000000##FFFFFF
##7C4DE01.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#5F7090
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4de0;
/* rgb */ color: rgb(124, 77, 224);
/* oklch */ color: oklch(55.4% 0.212 292.9);
Tailwind
colors: {
  custom: {
    50: '#a982eb',
    500: '#7c4de0',
    950: '#000000',
  },
}
SCSS
$custom: #7c4de0;
$custom-light: #a982eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4de0",
  "rgb": {
    "r": 124,
    "g": 77,
    "b": 224
  },
  "hsl": {
    "h": 259.184,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55374,
    "c": 0.21152,
    "h": 292.9
  },
  "luminance": 0.14975
}

Semantic roles & 50–950 ramp

primary
#7C4DE0
secondary
#CFE1A8
accent
#ED3BB4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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