#7C48D2#7C48D2

#7C48D2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.6% C 0.202 H 296.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7C48D2
RGBrgb(124, 72, 210)
HSLhsl(263, 61%, 55%)
HSVhsv(263, 66%, 82%)
CMYKcmyk(41%, 65.7%, 0%, 17.6%)
CIE-LABlab(43.61, 51.24, -63.35)
CIE-LCHlch(43.61, 81.48, 308.97°)
OKLaboklab(53.62% 0.0891 -0.1808)
OKLCHoklch(53.62% 0.202 296.2)
XYZxyz(22.2594, 13.5725, 62.4073)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C48D2 #9ED248
analogous
#4859D2 #7C48D2 #C148D2
triadic
#7C48D2 #D27C48 #48D27C
tetradic
#7C48D2 #D24859 #9ED248 #48D2C1
square
#7C48D2 #D24859 #9ED248 #48D2C1
split-complementary
#7C48D2 #D2C148 #59D248
monochromatic
#442080 #5E2CB1 #7C48D2 #9F79DE #C2AAEA

Accessibility & contrast

On white

5.65
#7C48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7C48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C48D2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C48D2#FFFFFF#000000##FFFFFF
##7C48D21.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#666887
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c48d2;
/* rgb */ color: rgb(124, 72, 210);
/* oklch */ color: oklch(53.6% 0.202 296.2);
Tailwind
colors: {
  custom: {
    50: '#a87ee1',
    500: '#7c48d2',
    950: '#000000',
  },
}
SCSS
$custom: #7c48d2;
$custom-light: #a87ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c48d2",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 262.609,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53622,
    "c": 0.20157,
    "h": 296.2
  },
  "luminance": 0.13573
}

Semantic roles & 50–950 ramp

primary
#7C48D2
secondary
#C2D89E
accent
#E444A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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