#7C219B#7C219B

#7C219B is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.191 H 315.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7C219B
RGBrgb(124, 33, 155)
HSLhsl(285, 65%, 37%)
HSVhsv(285, 79%, 61%)
CMYKcmyk(20%, 78.7%, 0%, 39.2%)
CIE-LABlab(33.44, 55.74, -47.35)
CIE-LCHlch(33.44, 73.14, 319.65°)
OKLaboklab(45.11% 0.1365 -0.1336)
OKLCHoklch(45.11% 0.191 315.6)
XYZxyz(14.7715, 7.7399, 31.7198)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C219B #409B21
analogous
#3F219B #7C219B #9B217D
triadic
#7C219B #9B7C21 #219B7C
tetradic
#7C219B #9B3F21 #409B21 #217D9B
square
#7C219B #9B3F21 #409B21 #217D9B
split-complementary
#7C219B #7D9B21 #219B3F
monochromatic
#2B0C36 #541669 #7C219B #A42CCD #BB5ADC

Accessibility & contrast

On white

8.24
#7C219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C219B
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C219B#FFFFFF#000000##FFFFFF
##7C219B1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#7A3D5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c219b;
/* rgb */ color: rgb(124, 33, 155);
/* oklch */ color: oklch(45.1% 0.191 315.6);
Tailwind
colors: {
  custom: {
    50: '#a667b9',
    500: '#7c219b',
    950: '#000000',
  },
}
SCSS
$custom: #7c219b;
$custom-light: #a667b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c219b",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 284.754,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.19096,
    "h": 315.6
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#7C219B
secondary
#72C058
accent
#E8406B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C219B

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

Preview Lab → · Contrast checker → · Palette generator →

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