#7C48CE#7C48CE

#7C48CE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.197 H 297.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7C48CE
RGBrgb(124, 72, 206)
HSLhsl(263, 58%, 55%)
HSVhsv(263, 65%, 81%)
CMYKcmyk(39.8%, 65%, 0%, 19.2%)
CIE-LABlab(43.32, 50.20, -61.52)
CIE-LCHlch(43.32, 79.40, 309.22°)
OKLaboklab(53.32% 0.0895 -0.1754)
OKLCHoklch(53.32% 0.197 297)
XYZxyz(21.7672, 13.3757, 59.8155)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C48CE #9ACE48
analogous
#4857CE #7C48CE #BF48CE
triadic
#7C48CE #CE7C48 #48CE7C
tetradic
#7C48CE #CE4857 #9ACE48 #48CEBF
square
#7C48CE #CE4857 #9ACE48 #48CEBF
split-complementary
#7C48CE #CEBF48 #57CE48
monochromatic
#44217B #5E2EAB #7C48CE #9F78DB #C1A9E8

Accessibility & contrast

On white

5.71
#7C48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7C48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C48CE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C48CE#FFFFFF#000000##FFFFFF
##7C48CE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#686785
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c48ce;
/* rgb */ color: rgb(124, 72, 206);
/* oklch */ color: oklch(53.3% 0.197 297.0);
Tailwind
colors: {
  custom: {
    50: '#a87ede',
    500: '#7c48ce',
    950: '#000000',
  },
}
SCSS
$custom: #7c48ce;
$custom-light: #a87ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7c48ce",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 263.284,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53322,
    "c": 0.19696,
    "h": 297
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#7C48CE
secondary
#BFD59D
accent
#E147A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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