#7A218F#7A218F

#7A218F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.180 H 319.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7A218F
RGBrgb(122, 33, 143)
HSLhsl(289, 63%, 35%)
HSVhsv(289, 77%, 56%)
CMYKcmyk(14.7%, 76.9%, 0%, 43.9%)
CIE-LABlab(32.28, 52.96, -41.88)
CIE-LCHlch(32.28, 67.52, 321.66°)
OKLaboklab(43.97% 0.1356 -0.1176)
OKLCHoklch(43.97% 0.18 319.1)
XYZxyz(13.5272, 7.2091, 26.6602)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A218F #368F21
analogous
#43218F #7A218F #8F216D
triadic
#7A218F #8F7A21 #218F7A
tetradic
#7A218F #8F4321 #368F21 #216D8F
square
#7A218F #8F4321 #368F21 #216D8F
split-complementary
#7A218F #6D8F21 #218F43
monochromatic
#250A2C #50165D #7A218F #A42CC1 #BE53D7

Accessibility & contrast

On white

8.60
#7A218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7A218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A218F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A218F#FFFFFF#000000##FFFFFF
##7A218F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#7A3857
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a218f;
/* rgb */ color: rgb(122, 33, 143);
/* oklch */ color: oklch(44.0% 0.180 319.1);
Tailwind
colors: {
  custom: {
    50: '#a467b0',
    500: '#7a218f',
    950: '#000000',
  },
}
SCSS
$custom: #7a218f;
$custom-light: #a467b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a218f",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 288.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43965,
    "c": 0.17951,
    "h": 319.1
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#7A218F
secondary
#65BB51
accent
#E64261
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A218F

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

Preview Lab → · Contrast checker → · Palette generator →

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