#7C4CED#7C4CED

#7C4CED is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.228 H 290.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7C4CED
RGBrgb(124, 76, 237)
HSLhsl(258, 82%, 61%)
HSVhsv(258, 68%, 93%)
CMYKcmyk(47.7%, 67.9%, 0%, 7.1%)
CIE-LABlab(46.40, 56.34, -74.17)
CIE-LCHlch(46.40, 93.15, 307.22°)
OKLaboklab(56.26% 0.0813 -0.2126)
OKLCHoklch(56.26% 0.228 290.9)
XYZxyz(26.1784, 15.5674, 81.7298)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CED #BDED4C
analogous
#4C6DED #7C4CED #CD4CED
triadic
#7C4CED #ED7C4C #4CED7C
tetradic
#7C4CED #ED4C6D #BDED4C #4CEDCD
square
#7C4CED #ED4C6D #BDED4C #4CEDCD
split-complementary
#7C4CED #EDCD4C #6DED4C
monochromatic
#4011AD #5417E5 #7C4CED #A584F3 #CDBBF8

Accessibility & contrast

On white

5.11
#7C4CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7C4CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CED
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CED#FFFFFF#000000##FFFFFF
##7C4CED1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#577597
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c4ced;
/* rgb */ color: rgb(124, 76, 237);
/* oklch */ color: oklch(56.3% 0.228 290.9);
Tailwind
colors: {
  custom: {
    50: '#ab81f4',
    500: '#7c4ced',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ced;
$custom-light: #ab81f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ced",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 237
  },
  "hsl": {
    "h": 257.888,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.22766,
    "h": 290.9
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#7C4CED
secondary
#D7E8AC
accent
#DE079E
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C4CED

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

Preview Lab → · Contrast checker → · Palette generator →

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