#7C2789#7C2789

#7C2789 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.168 H 322.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7C2789
RGBrgb(124, 39, 137)
HSLhsl(292, 56%, 35%)
HSVhsv(292, 72%, 54%)
CMYKcmyk(9.5%, 71.5%, 0%, 46.3%)
CIE-LABlab(33.01, 49.95, -36.98)
CIE-LCHlch(33.01, 62.15, 323.49°)
OKLaboklab(44.43% 0.1325 -0.1033)
OKLCHoklch(44.43% 0.168 322.1)
XYZxyz(13.5526, 7.5430, 24.4042)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2789 #348927
analogous
#4B2789 #7C2789 #892765
triadic
#7C2789 #897C27 #27897C
tetradic
#7C2789 #894B27 #348927 #276589
square
#7C2789 #894B27 #348927 #276589
split-complementary
#7C2789 #658927 #27894B
monochromatic
#260C2A #511959 #7C2789 #A735B9 #C05AD0

Accessibility & contrast

On white

8.37
#7C2789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7C2789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2789
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2789#FFFFFF#000000##FFFFFF
##7C27891.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03478C
Deuteranopia (green-blind)
#345187
Tritanopia (blue-blind)
#7D3855
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2789;
/* rgb */ color: rgb(124, 39, 137);
/* oklch */ color: oklch(44.4% 0.168 322.1);
Tailwind
colors: {
  custom: {
    50: '#a569ac',
    500: '#7c2789',
    950: '#000000',
  },
}
SCSS
$custom: #7c2789;
$custom-light: #a569ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2789",
  "rgb": {
    "r": 124,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 292.041,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44428,
    "c": 0.16798,
    "h": 322.1
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#7C2789
secondary
#63B557
accent
#DF495D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2789

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

Preview Lab → · Contrast checker → · Palette generator →

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