#7C488D#7C488D

#7C488D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.1% C 0.121 H 317.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7C488D
RGBrgb(124, 72, 141)
HSLhsl(285, 32%, 42%)
HSVhsv(285, 49%, 55%)
CMYKcmyk(12.1%, 48.9%, 0%, 44.7%)
CIE-LABlab(39.32, 34.37, -29.46)
CIE-LCHlch(39.32, 45.27, 319.40°)
OKLaboklab(49.11% 0.0887 -0.0816)
OKLCHoklch(49.11% 0.121 317.4)
XYZxyz(15.4366, 10.8434, 26.4740)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C488D #598D48
analogous
#5A488D #7C488D #8D487C
triadic
#7C488D #8D7C48 #488D7C
tetradic
#7C488D #8D5A48 #598D48 #487C8D
square
#7C488D #8D5A48 #598D48 #487C8D
split-complementary
#7C488D #7C8D48 #488D5A
monochromatic
#351F3C #583364 #7C488D #9C63AF #B68BC4

Accessibility & contrast

On white

6.63
#7C488D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7C488D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C488D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C488D#FFFFFF#000000##FFFFFF
##7C488D1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#7C5264
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c488d;
/* rgb */ color: rgb(124, 72, 141);
/* oklch */ color: oklch(49.1% 0.121 317.4);
Tailwind
colors: {
  custom: {
    50: '#a37dae',
    500: '#7c488d',
    950: '#000000',
  },
}
SCSS
$custom: #7c488d;
$custom-light: #a37dae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c488d",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 285.217,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49105,
    "c": 0.12053,
    "h": 317.4
  },
  "luminance": 0.10843
}

Semantic roles & 50–950 ramp

primary
#7C488D
secondary
#8DB081
accent
#C95F79
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7C488D

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

Preview Lab → · Contrast checker → · Palette generator →

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