#7C48BA#7C48BA

#7C48BA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.174 H 301.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7C48BA
RGBrgb(124, 72, 186)
HSLhsl(267, 45%, 51%)
HSVhsv(267, 61%, 73%)
CMYKcmyk(33.3%, 61.3%, 0%, 27.1%)
CIE-LABlab(41.95, 45.08, -52.12)
CIE-LCHlch(41.95, 68.91, 310.86°)
OKLaboklab(51.89% 0.091 -0.1478)
OKLCHoklch(51.89% 0.174 301.6)
XYZxyz(19.4904, 12.4649, 47.8240)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C48BA #86BA48
analogous
#484DBA #7C48BA #B548BA
triadic
#7C48BA #BA7C48 #48BA7C
tetradic
#7C48BA #BA484D #86BA48 #48BAB5
square
#7C48BA #BA484D #86BA48 #48BAB5
split-complementary
#7C48BA #BAB548 #4DBA48
monochromatic
#412562 #5E368F #7C48BA #9C74CB #BCA1DC

Accessibility & contrast

On white

6.01
#7C48BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7C48BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C48BA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C48BA#FFFFFF#000000##FFFFFF
##7C48BA1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#2462B7
Tritanopia (blue-blind)
#6F607A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c48ba;
/* rgb */ color: rgb(124, 72, 186);
/* oklch */ color: oklch(51.9% 0.174 301.6);
Tailwind
colors: {
  custom: {
    50: '#a67ecf',
    500: '#7c48ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c48ba;
$custom-light: #a67ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c48ba",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 267.368,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.1736,
    "h": 301.6
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#7C48BA
secondary
#B1C896
accent
#D5539A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7C48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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