#7C4CE3#7C4CE3

#7C4CE3 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.216 H 292.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7C4CE3
RGBrgb(124, 76, 227)
HSLhsl(259, 73%, 59%)
HSVhsv(259, 67%, 89%)
CMYKcmyk(45.4%, 66.5%, 0%, 11%)
CIE-LABlab(45.63, 53.66, -69.77)
CIE-LCHlch(45.63, 88.02, 307.56°)
OKLaboklab(55.47% 0.0828 -0.1997)
OKLCHoklch(55.47% 0.216 292.5)
XYZxyz(24.7579, 14.9992, 74.2488)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CE3 #B3E34C
analogous
#4C68E3 #7C4CE3 #C84CE3
triadic
#7C4CE3 #E37C4C #4CE37C
tetradic
#7C4CE3 #E34C68 #B3E34C #4CE3C8
square
#7C4CE3 #E34C68 #B3E34C #4CE3C8
split-complementary
#7C4CE3 #E3C84C #68E34C
monochromatic
#42189C #5921D1 #7C4CE3 #A381EB #C9B6F4

Accessibility & contrast

On white

5.25
#7C4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7C4CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CE3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CE3#FFFFFF#000000##FFFFFF
##7C4CE31.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#5D7191
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4ce3;
/* rgb */ color: rgb(124, 76, 227);
/* oklch */ color: oklch(55.5% 0.216 292.5);
Tailwind
colors: {
  custom: {
    50: '#aa81ed',
    500: '#7c4ce3',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ce3;
$custom-light: #aa81ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ce3",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 259.073,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.2162,
    "h": 292.5
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

primary
#7C4CE3
secondary
#D0E3A8
accent
#F038B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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