#7C2189#7C2189

#7C2189 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.175 H 322.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7C2189
RGBrgb(124, 33, 137)
HSLhsl(293, 61%, 33%)
HSVhsv(293, 76%, 54%)
CMYKcmyk(9.5%, 75.9%, 0%, 46.3%)
CIE-LABlab(32.21, 52.23, -38.26)
CIE-LCHlch(32.21, 64.74, 323.77°)
OKLaboklab(43.86% 0.1386 -0.1069)
OKLCHoklch(43.86% 0.175 322.4)
XYZxyz(13.3709, 7.1797, 24.3436)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2189 #2E8921
analogous
#482189 #7C2189 #892162
triadic
#7C2189 #897C21 #21897C
tetradic
#7C2189 #894821 #2E8921 #216289
square
#7C2189 #894821 #2E8921 #216289
split-complementary
#7C2189 #628921 #218948
monochromatic
#230926 #4F1558 #7C2189 #A92DBA #C450D5

Accessibility & contrast

On white

8.62
#7C2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7C2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2189
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2189#FFFFFF#000000##FFFFFF
##7C21891.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#304F87
Tritanopia (blue-blind)
#7E3553
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c2189;
/* rgb */ color: rgb(124, 33, 137);
/* oklch */ color: oklch(43.9% 0.175 322.4);
Tailwind
colors: {
  custom: {
    50: '#a567ac',
    500: '#7c2189',
    950: '#000000',
  },
}
SCSS
$custom: #7c2189;
$custom-light: #a567ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2189",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 292.5,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43857,
    "c": 0.1751,
    "h": 322.4
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#7C2189
secondary
#5BB84E
accent
#E44458
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2189

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

Preview Lab → · Contrast checker → · Palette generator →

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