#7C2185#7C2185

#7C2185 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.172 H 324.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7C2185
RGBrgb(124, 33, 133)
HSLhsl(295, 60%, 33%)
HSVhsv(295, 75%, 52%)
CMYKcmyk(6.8%, 75.2%, 0%, 47.8%)
CIE-LABlab(31.96, 51.48, -36.18)
CIE-LCHlch(31.96, 62.93, 324.90°)
OKLaboklab(43.6% 0.1389 -0.1009)
OKLCHoklch(43.6% 0.172 324)
XYZxyz(13.0893, 7.0671, 22.8604)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2185 #2A8521
analogous
#4A2185 #7C2185 #85215C
triadic
#7C2185 #857C21 #21857C
tetradic
#7C2185 #854A21 #2A8521 #215C85
square
#7C2185 #854A21 #2A8521 #215C85
split-complementary
#7C2185 #5C8521 #21854A
monochromatic
#210923 #4E1554 #7C2185 #AA2DB6 #C74DD3

Accessibility & contrast

On white

8.70
#7C2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7C2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2185
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2185#FFFFFF#000000##FFFFFF
##7C21851.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#334F83
Tritanopia (blue-blind)
#7E3351
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2185;
/* rgb */ color: rgb(124, 33, 133);
/* oklch */ color: oklch(43.6% 0.172 324.0);
Tailwind
colors: {
  custom: {
    50: '#a566a9',
    500: '#7c2185',
    950: '#000000',
  },
}
SCSS
$custom: #7c2185;
$custom-light: #a566a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2185",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 294.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43595,
    "c": 0.17165,
    "h": 324
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#7C2185
secondary
#55B64C
accent
#E34453
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2185

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

Preview Lab → · Contrast checker → · Palette generator →

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