#7C219C#7C219C

#7C219C is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.192 H 315.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7C219C
RGBrgb(124, 33, 156)
HSLhsl(284, 65%, 37%)
HSVhsv(284, 79%, 61%)
CMYKcmyk(20.5%, 78.8%, 0%, 38.8%)
CIE-LABlab(33.51, 55.94, -47.84)
CIE-LCHlch(33.51, 73.61, 319.46°)
OKLaboklab(45.18% 0.1363 -0.135)
OKLCHoklch(45.18% 0.192 315.3)
XYZxyz(14.8558, 7.7737, 32.1640)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C219C #419C21
analogous
#3E219C #7C219C #9C217F
triadic
#7C219C #9C7C21 #219C7C
tetradic
#7C219C #9C3E21 #419C21 #217F9C
square
#7C219C #9C3E21 #419C21 #217F9C
split-complementary
#7C219C #7F9C21 #219C3E
monochromatic
#2C0C37 #541669 #7C219C #A42CCF #BB5BDC

Accessibility & contrast

On white

8.22
#7C219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7C219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C219C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C219C#FFFFFF#000000##FFFFFF
##7C219C1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#1C5199
Tritanopia (blue-blind)
#793E5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c219c;
/* rgb */ color: rgb(124, 33, 156);
/* oklch */ color: oklch(45.2% 0.192 315.3);
Tailwind
colors: {
  custom: {
    50: '#a668ba',
    500: '#7c219c',
    950: '#000000',
  },
}
SCSS
$custom: #7c219c;
$custom-light: #a668ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c219c",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 284.39,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.19185,
    "h": 315.3
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#7C219C
secondary
#73C158
accent
#E8406C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C219C

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

Preview Lab → · Contrast checker → · Palette generator →

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