#7C48C8#7C48C8

#7C48C8 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.190 H 298.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7C48C8
RGBrgb(124, 72, 200)
HSLhsl(264, 54%, 53%)
HSVhsv(264, 64%, 78%)
CMYKcmyk(38%, 64%, 0%, 21.6%)
CIE-LABlab(42.90, 48.65, -58.74)
CIE-LCHlch(42.90, 76.27, 309.63°)
OKLaboklab(52.88% 0.0901 -0.1673)
OKLCHoklch(52.88% 0.19 298.3)
XYZxyz(21.0522, 13.0897, 56.0498)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C48C8 #94C848
analogous
#4854C8 #7C48C8 #BC48C8
triadic
#7C48C8 #C87C48 #48C87C
tetradic
#7C48C8 #C84854 #94C848 #48C8BC
square
#7C48C8 #C84854 #94C848 #48C8BC
split-complementary
#7C48C8 #C8BC48 #54C848
monochromatic
#432373 #5F31A2 #7C48C8 #9E77D6 #BFA6E4

Accessibility & contrast

On white

5.80
#7C48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7C48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C48C8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C48C8#FFFFFF#000000##FFFFFF
##7C48C81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#6A6581
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c48c8;
/* rgb */ color: rgb(124, 72, 200);
/* oklch */ color: oklch(52.9% 0.190 298.3);
Tailwind
colors: {
  custom: {
    50: '#a77ed9',
    500: '#7c48c8',
    950: '#000000',
  },
}
SCSS
$custom: #7c48c8;
$custom-light: #a77ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c48c8",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 264.375,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.18999,
    "h": 298.3
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#7C48C8
secondary
#BBD19A
accent
#DD4BA2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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