#7C219F#7C219F

#7C219F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.195 H 314.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7C219F
RGBrgb(124, 33, 159)
HSLhsl(283, 66%, 38%)
HSVhsv(283, 79%, 62%)
CMYKcmyk(22%, 79.2%, 0%, 37.6%)
CIE-LABlab(33.72, 56.55, -49.31)
CIE-LCHlch(33.72, 75.03, 318.91°)
OKLaboklab(45.41% 0.1358 -0.1393)
OKLCHoklch(45.41% 0.195 314.3)
XYZxyz(15.1130, 7.8765, 33.5184)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C219F #449F21
analogous
#3D219F #7C219F #9F2183
triadic
#7C219F #9F7C21 #219F7C
tetradic
#7C219F #9F3D21 #449F21 #21839F
square
#7C219F #9F3D21 #449F21 #21839F
split-complementary
#7C219F #839F21 #219F3D
monochromatic
#2D0C3A #54166C #7C219F #A42CD2 #BA5DDD

Accessibility & contrast

On white

8.15
#7C219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7C219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C219F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C219F#FFFFFF#000000##FFFFFF
##7C219F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#16519C
Tritanopia (blue-blind)
#793F60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c219f;
/* rgb */ color: rgb(124, 33, 159);
/* oklch */ color: oklch(45.4% 0.195 314.3);
Tailwind
colors: {
  custom: {
    50: '#a668bc',
    500: '#7c219f',
    950: '#000000',
  },
}
SCSS
$custom: #7c219f;
$custom-light: #a668bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c219f",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 283.333,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45407,
    "c": 0.19453,
    "h": 314.3
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#7C219F
secondary
#77C25A
accent
#E93F6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C219F

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

Preview Lab → · Contrast checker → · Palette generator →

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