#7C48D7#7C48D7

#7C48D7 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.207 H 295.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7C48D7
RGBrgb(124, 72, 215)
HSLhsl(262, 64%, 56%)
HSVhsv(262, 67%, 84%)
CMYKcmyk(42.3%, 66.5%, 0%, 15.7%)
CIE-LABlab(43.98, 52.55, -65.62)
CIE-LCHlch(43.98, 84.07, 308.69°)
OKLaboklab(54% 0.0885 -0.1875)
OKLCHoklch(54% 0.207 295.3)
XYZxyz(22.8920, 13.8256, 65.7393)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C48D7 #A3D748
analogous
#485CD7 #7C48D7 #C448D7
triadic
#7C48D7 #D77C48 #48D77C
tetradic
#7C48D7 #D7485C #A3D748 #48D7C4
square
#7C48D7 #D7485C #A3D748 #48D7C4
split-complementary
#7C48D7 #D7C448 #5CD748
monochromatic
#441E87 #5D29B9 #7C48D7 #A07AE2 #C4ACED

Accessibility & contrast

On white

5.58
#7C48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7C48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C48D7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C48D7#FFFFFF#000000##FFFFFF
##7C48D71.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#646A8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c48d7;
/* rgb */ color: rgb(124, 72, 215);
/* oklch */ color: oklch(54.0% 0.207 295.3);
Tailwind
colors: {
  custom: {
    50: '#a97ee4',
    500: '#7c48d7',
    950: '#000000',
  },
}
SCSS
$custom: #7c48d7;
$custom-light: #a97ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c48d7",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 261.818,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.20732,
    "h": 295.3
  },
  "luminance": 0.13826
}

Semantic roles & 50–950 ramp

primary
#7C48D7
secondary
#C5DBA0
accent
#E741AB
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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