#7C2889#7C2889

#7C2889 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.167 H 322.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7C2889
RGBrgb(124, 40, 137)
HSLhsl(292, 55%, 35%)
HSVhsv(292, 71%, 54%)
CMYKcmyk(9.5%, 70.8%, 0%, 46.3%)
CIE-LABlab(33.16, 49.55, -36.75)
CIE-LCHlch(33.16, 61.69, 323.43°)
OKLaboklab(44.53% 0.1314 -0.1026)
OKLCHoklch(44.53% 0.167 322)
XYZxyz(13.5859, 7.6096, 24.4152)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2889 #358928
analogous
#4C2889 #7C2889 #892865
triadic
#7C2889 #897C28 #28897C
tetradic
#7C2889 #894C28 #358928 #286589
square
#7C2889 #894C28 #358928 #286589
split-complementary
#7C2889 #658928 #28894C
monochromatic
#260C2A #511A5A #7C2889 #A736B8 #C05CCF

Accessibility & contrast

On white

8.33
#7C2889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7C2889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2889
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2889#FFFFFF#000000##FFFFFF
##7C28891.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06488C
Deuteranopia (green-blind)
#355187
Tritanopia (blue-blind)
#7D3955
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2889;
/* rgb */ color: rgb(124, 40, 137);
/* oklch */ color: oklch(44.5% 0.167 322.0);
Tailwind
colors: {
  custom: {
    50: '#a56aac',
    500: '#7c2889',
    950: '#000000',
  },
}
SCSS
$custom: #7c2889;
$custom-light: #a56aac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2889",
  "rgb": {
    "r": 124,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 291.959,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44531,
    "c": 0.1667,
    "h": 322
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#7C2889
secondary
#65B558
accent
#DE4A5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2889

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

Preview Lab → · Contrast checker → · Palette generator →

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