#7C4875#7C4875

#7C4875 is a mid, moderate purple. Relative luminance 0.102; OKLCH L 47.9% C 0.095 H 332.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7C4875
RGBrgb(124, 72, 117)
HSLhsl(308, 27%, 38%)
HSVhsv(308, 42%, 49%)
CMYKcmyk(0%, 41.9%, 5.6%, 51.4%)
CIE-LABlab(38.21, 29.40, -16.44)
CIE-LCHlch(38.21, 33.68, 330.78°)
OKLaboklab(47.91% 0.0835 -0.0445)
OKLCHoklch(47.91% 0.095 332)
XYZxyz(13.8403, 10.2049, 18.0669)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4875 #487C4F
analogous
#69487C #7C4875 #7C485B
triadic
#7C4875 #757C48 #48757C
tetradic
#7C4875 #7C6948 #487C4F #485B7C
square
#7C4875 #7C6948 #487C4F #485B7C
split-complementary
#7C4875 #5B7C48 #487C69
monochromatic
#2F1B2C #553250 #7C4875 #A25F99 #B986B2

Accessibility & contrast

On white

6.91
#7C4875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7C4875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4875
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4875#FFFFFF#000000##FFFFFF
##7C48751.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475577
Deuteranopia (green-blind)
#545D73
Tritanopia (blue-blind)
#804B59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c4875;
/* rgb */ color: rgb(124, 72, 117);
/* oklch */ color: oklch(47.9% 0.095 332.0);
Tailwind
colors: {
  custom: {
    50: '#a37c9d',
    500: '#7c4875',
    950: '#000000',
  },
}
SCSS
$custom: #7c4875;
$custom-light: #a37c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4875",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 308.077,
    "s": 26.531,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47913,
    "c": 0.09464,
    "h": 332
  },
  "luminance": 0.10204
}

Semantic roles & 50–950 ramp

primary
#7C4875
secondary
#7BA581
accent
#C37265
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7C4875

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

Preview Lab → · Contrast checker → · Palette generator →

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