#7C4BE8#7C4BE8

#7C4BE8 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.223 H 291.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7C4BE8
RGBrgb(124, 75, 232)
HSLhsl(259, 77%, 60%)
HSVhsv(259, 68%, 91%)
CMYKcmyk(46.6%, 67.7%, 0%, 9%)
CIE-LABlab(45.83, 55.51, -72.29)
CIE-LCHlch(45.83, 91.14, 307.52°)
OKLaboklab(55.73% 0.083 -0.2071)
OKLCHoklch(55.73% 0.223 291.9)
XYZxyz(25.3897, 15.1426, 77.9133)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BE8 #B7E84B
analogous
#4B68E8 #7C4BE8 #CA4BE8
triadic
#7C4BE8 #E87C4B #4BE87C
tetradic
#7C4BE8 #E84B68 #B7E84B #4BE8CA
square
#7C4BE8 #E84B68 #B7E84B #4BE8CA
split-complementary
#7C4BE8 #E8CA4B #68E84B
monochromatic
#4115A4 #571CDA #7C4BE8 #A381EF #CBB8F6

Accessibility & contrast

On white

5.21
#7C4BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7C4BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BE8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BE8#FFFFFF#000000##FFFFFF
##7C4BE81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#5A7294
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4be8;
/* rgb */ color: rgb(124, 75, 232);
/* oklch */ color: oklch(55.7% 0.223 291.9);
Tailwind
colors: {
  custom: {
    50: '#aa81f0',
    500: '#7c4be8',
    950: '#000000',
  },
}
SCSS
$custom: #7c4be8;
$custom-light: #aa81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4be8",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 258.726,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55729,
    "c": 0.22312,
    "h": 291.9
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#7C4BE8
secondary
#D3E6A9
accent
#DA0C99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7C4BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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