#7C48CA#7C48CA

#7C48CA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.192 H 297.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7C48CA
RGBrgb(124, 72, 202)
HSLhsl(264, 55%, 54%)
HSVhsv(264, 64%, 79%)
CMYKcmyk(38.6%, 64.4%, 0%, 20.8%)
CIE-LABlab(43.04, 49.17, -59.67)
CIE-LCHlch(43.04, 77.32, 309.49°)
OKLaboklab(53.03% 0.0899 -0.17)
OKLCHoklch(53.03% 0.192 297.9)
XYZxyz(21.2875, 13.1838, 57.2888)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C48CA #96CA48
analogous
#4855CA #7C48CA #BD48CA
triadic
#7C48CA #CA7C48 #48CA7C
tetradic
#7C48CA #CA4855 #96CA48 #48CABD
square
#7C48CA #CA4855 #96CA48 #48CABD
split-complementary
#7C48CA #CABD48 #55CA48
monochromatic
#432276 #5F30A5 #7C48CA #9E77D8 #C0A7E5

Accessibility & contrast

On white

5.77
#7C48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7C48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C48CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C48CA#FFFFFF#000000##FFFFFF
##7C48CA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#696683
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c48ca;
/* rgb */ color: rgb(124, 72, 202);
/* oklch */ color: oklch(53.0% 0.192 297.9);
Tailwind
colors: {
  custom: {
    50: '#a77edb',
    500: '#7c48ca',
    950: '#000000',
  },
}
SCSS
$custom: #7c48ca;
$custom-light: #a77edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c48ca",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 264,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53027,
    "c": 0.19233,
    "h": 297.9
  },
  "luminance": 0.13184
}

Semantic roles & 50–950 ramp

primary
#7C48CA
secondary
#BCD39B
accent
#DE49A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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