#7C48D6#7C48D6

#7C48D6 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.206 H 295.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7C48D6
RGBrgb(124, 72, 214)
HSLhsl(262, 63%, 56%)
HSVhsv(262, 66%, 84%)
CMYKcmyk(42.1%, 66.4%, 0%, 16.1%)
CIE-LABlab(43.91, 52.29, -65.17)
CIE-LCHlch(43.91, 83.55, 308.74°)
OKLaboklab(53.93% 0.0886 -0.1862)
OKLCHoklch(53.93% 0.206 295.4)
XYZxyz(22.7639, 13.7743, 65.0646)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C48D6 #A2D648
analogous
#485BD6 #7C48D6 #C348D6
triadic
#7C48D6 #D67C48 #48D67C
tetradic
#7C48D6 #D6485B #A2D648 #48D6C3
square
#7C48D6 #D6485B #A2D648 #48D6C3
split-complementary
#7C48D6 #D6C348 #5BD648
monochromatic
#441E86 #5D29B8 #7C48D6 #A07AE1 #C4ACEC

Accessibility & contrast

On white

5.59
#7C48D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7C48D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C48D6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C48D6#FFFFFF#000000##FFFFFF
##7C48D61.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#646A89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c48d6;
/* rgb */ color: rgb(124, 72, 214);
/* oklch */ color: oklch(53.9% 0.206 295.4);
Tailwind
colors: {
  custom: {
    50: '#a97ee4',
    500: '#7c48d6',
    950: '#000000',
  },
}
SCSS
$custom: #7c48d6;
$custom-light: #a97ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c48d6",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 261.972,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53926,
    "c": 0.20617,
    "h": 295.4
  },
  "luminance": 0.13775
}

Semantic roles & 50–950 ramp

primary
#7C48D6
secondary
#C5DAA0
accent
#E641AA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7C48D6

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

Preview Lab → · Contrast checker → · Palette generator →

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