#7C2183#7C2183

#7C2183 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.170 H 324.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7C2183
RGBrgb(124, 33, 131)
HSLhsl(296, 60%, 32%)
HSVhsv(296, 75%, 51%)
CMYKcmyk(5.3%, 74.8%, 0%, 48.6%)
CIE-LABlab(31.83, 51.12, -35.13)
CIE-LCHlch(31.83, 62.03, 325.50°)
OKLaboklab(43.47% 0.139 -0.0978)
OKLCHoklch(43.47% 0.17 324.9)
XYZxyz(12.9525, 7.0123, 22.1396)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2183 #288321
analogous
#4B2183 #7C2183 #832159
triadic
#7C2183 #837C21 #21837C
tetradic
#7C2183 #834B21 #288321 #215983
square
#7C2183 #834B21 #288321 #215983
split-complementary
#7C2183 #598321 #21834B
monochromatic
#1F0821 #4E1552 #7C2183 #AA2DB4 #C84CD2

Accessibility & contrast

On white

8.74
#7C2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7C2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2183
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2183#FFFFFF#000000##FFFFFF
##7C21831.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014486
Deuteranopia (green-blind)
#354F81
Tritanopia (blue-blind)
#7F3250
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2183;
/* rgb */ color: rgb(124, 33, 131);
/* oklch */ color: oklch(43.5% 0.170 324.9);
Tailwind
colors: {
  custom: {
    50: '#a566a7',
    500: '#7c2183',
    950: '#000000',
  },
}
SCSS
$custom: #7c2183;
$custom-light: #a566a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2183",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 295.714,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43466,
    "c": 0.16995,
    "h": 324.9
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

primary
#7C2183
secondary
#52B54B
accent
#E34550
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C2183

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

Preview Lab → · Contrast checker → · Palette generator →

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