#7C219D#7C219D

#7C219D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.193 H 314.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7C219D
RGBrgb(124, 33, 157)
HSLhsl(284, 65%, 37%)
HSVhsv(284, 79%, 62%)
CMYKcmyk(21%, 79%, 0%, 38.4%)
CIE-LABlab(33.58, 56.14, -48.33)
CIE-LCHlch(33.58, 74.08, 319.27°)
OKLaboklab(45.26% 0.1361 -0.1365)
OKLCHoklch(45.26% 0.193 314.9)
XYZxyz(14.9408, 7.8077, 32.6118)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C219D #429D21
analogous
#3E219D #7C219D #9D2180
triadic
#7C219D #9D7C21 #219D7C
tetradic
#7C219D #9D3E21 #429D21 #21809D
square
#7C219D #9D3E21 #429D21 #21809D
split-complementary
#7C219D #809D21 #219D3E
monochromatic
#2C0C38 #54166A #7C219D #A42CD0 #BA5CDD

Accessibility & contrast

On white

8.20
#7C219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7C219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C219D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C219D#FFFFFF#000000##FFFFFF
##7C219D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#1A519A
Tritanopia (blue-blind)
#793E5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c219d;
/* rgb */ color: rgb(124, 33, 157);
/* oklch */ color: oklch(45.3% 0.193 314.9);
Tailwind
colors: {
  custom: {
    50: '#a668bb',
    500: '#7c219d',
    950: '#000000',
  },
}
SCSS
$custom: #7c219d;
$custom-light: #a668bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c219d",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 284.032,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45259,
    "c": 0.19275,
    "h": 314.9
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#7C219D
secondary
#75C159
accent
#E8406C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C219D

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

Preview Lab → · Contrast checker → · Palette generator →

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