#7C218F#7C218F

#7C218F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.180 H 320.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7C218F
RGBrgb(124, 33, 143)
HSLhsl(290, 63%, 35%)
HSVhsv(290, 77%, 56%)
CMYKcmyk(13.3%, 76.9%, 0%, 43.9%)
CIE-LABlab(32.61, 53.37, -41.34)
CIE-LCHlch(32.61, 67.51, 322.24°)
OKLaboklab(44.26% 0.1381 -0.116)
OKLCHoklch(44.26% 0.18 320)
XYZxyz(13.8133, 7.3567, 26.6737)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C218F #348F21
analogous
#45218F #7C218F #8F216B
triadic
#7C218F #8F7C21 #218F7C
tetradic
#7C218F #8F4521 #348F21 #216B8F
square
#7C218F #8F4521 #348F21 #216B8F
split-complementary
#7C218F #6B8F21 #218F45
monochromatic
#260A2C #51165D #7C218F #A72CC1 #C053D7

Accessibility & contrast

On white

8.50
#7C218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7C218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C218F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C218F#FFFFFF#000000##FFFFFF
##7C218F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#2B508D
Tritanopia (blue-blind)
#7C3857
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c218f;
/* rgb */ color: rgb(124, 33, 143);
/* oklch */ color: oklch(44.3% 0.180 320.0);
Tailwind
colors: {
  custom: {
    50: '#a667b0',
    500: '#7c218f',
    950: '#000000',
  },
}
SCSS
$custom: #7c218f;
$custom-light: #a667b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c218f",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 289.636,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44261,
    "c": 0.18034,
    "h": 320
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#7C218F
secondary
#63BB51
accent
#E6425E
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C218F

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

Preview Lab → · Contrast checker → · Palette generator →

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