#7C48E0#7C48E0

#7C48E0 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.218 H 293.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7C48E0
RGBrgb(124, 72, 224)
HSLhsl(261, 71%, 58%)
HSVhsv(261, 68%, 88%)
CMYKcmyk(44.6%, 67.9%, 0%, 12.2%)
CIE-LABlab(44.66, 54.91, -69.65)
CIE-LCHlch(44.66, 88.69, 308.25°)
OKLaboklab(54.7% 0.0871 -0.1993)
OKLCHoklch(54.7% 0.218 293.6)
XYZxyz(24.0804, 14.3009, 71.9982)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C48E0 #ACE048
analogous
#4860E0 #7C48E0 #C848E0
triadic
#7C48E0 #E07C48 #48E07C
tetradic
#7C48E0 #E04860 #ACE048 #48E0C8
square
#7C48E0 #E04860 #ACE048 #48E0C8
split-complementary
#7C48E0 #E0C848 #60E048
monochromatic
#431994 #5B22C9 #7C48E0 #A17CE9 #C7B1F2

Accessibility & contrast

On white

5.44
#7C48E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7C48E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C48E0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C48E0#FFFFFF#000000##FFFFFF
##7C48E01.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE5
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#5F6E8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c48e0;
/* rgb */ color: rgb(124, 72, 224);
/* oklch */ color: oklch(54.7% 0.218 293.6);
Tailwind
colors: {
  custom: {
    50: '#aa7feb',
    500: '#7c48e0',
    950: '#000000',
  },
}
SCSS
$custom: #7c48e0;
$custom-light: #aa7feb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c48e0",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 260.526,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.21756,
    "h": 293.6
  },
  "luminance": 0.14302
}

Semantic roles & 50–950 ramp

primary
#7C48E0
secondary
#CBE0A4
accent
#EE3AB0
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C48E0

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

Preview Lab → · Contrast checker → · Palette generator →

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