#7218A1#7218A1

#7218A1 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.201 H 309.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7218A1
RGBrgb(114, 24, 161)
HSLhsl(279, 74%, 36%)
HSVhsv(279, 85%, 63%)
CMYKcmyk(29.2%, 85.1%, 0%, 36.9%)
CIE-LABlab(31.36, 58.02, -54.44)
CIE-LCHlch(31.36, 79.56, 316.82°)
OKLaboklab(43.49% 0.1285 -0.1547)
OKLCHoklch(43.49% 0.201 309.7)
XYZxyz(13.6978, 6.8042, 34.3031)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7218A1 #47A118
analogous
#2E18A1 #7218A1 #A1188C
triadic
#7218A1 #A17218 #18A172
tetradic
#7218A1 #A12E18 #47A118 #188CA1
square
#7218A1 #A12E18 #47A118 #188CA1
split-complementary
#7218A1 #8CA118 #18A12E
monochromatic
#270836 #4C106C #7218A1 #9820D6 #B14FE5

Accessibility & contrast

On white

8.90
#7218A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7218A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7218A1
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7218A1#FFFFFF#000000##FFFFFF
##7218A11.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#6B3E5F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7218a1;
/* rgb */ color: rgb(114, 24, 161);
/* oklch */ color: oklch(43.5% 0.201 309.7);
Tailwind
colors: {
  custom: {
    50: '#a063be',
    500: '#7218a1',
    950: '#000000',
  },
}
SCSS
$custom: #7218a1;
$custom-light: #a063be;
$custom-dark: #000000;
JSON
{
  "hex": "#7218a1",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 279.416,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43485,
    "c": 0.20113,
    "h": 309.7
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#7218A1
secondary
#77C74E
accent
#F13777
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7218A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7218A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva