#7218A0#7218A0

#7218A0 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.4% C 0.200 H 310.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7218A0
RGBrgb(114, 24, 160)
HSLhsl(280, 74%, 36%)
HSVhsv(280, 85%, 63%)
CMYKcmyk(28.8%, 85%, 0%, 37.3%)
CIE-LABlab(31.28, 57.81, -53.97)
CIE-LCHlch(31.28, 79.08, 316.97°)
OKLaboklab(43.4% 0.1288 -0.1533)
OKLCHoklch(43.4% 0.2 310)
XYZxyz(13.6100, 6.7690, 33.8405)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7218A0 #46A018
analogous
#2E18A0 #7218A0 #A0188A
triadic
#7218A0 #A07218 #18A072
tetradic
#7218A0 #A02E18 #46A018 #188AA0
square
#7218A0 #A02E18 #46A018 #188AA0
split-complementary
#7218A0 #8AA018 #18A02E
monochromatic
#260836 #4C106B #7218A0 #9820D5 #B24EE4

Accessibility & contrast

On white

8.92
#7218A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7218A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7218A0
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7218A0#FFFFFF#000000##FFFFFF
##7218A01.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#6B3D5F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7218a0;
/* rgb */ color: rgb(114, 24, 160);
/* oklch */ color: oklch(43.4% 0.200 310.0);
Tailwind
colors: {
  custom: {
    50: '#a063bd',
    500: '#7218a0',
    950: '#000000',
  },
}
SCSS
$custom: #7218a0;
$custom-light: #a063bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7218a0",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 279.706,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43403,
    "c": 0.20024,
    "h": 310
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#7218A0
secondary
#76C64D
accent
#F13776
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7218A0

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

Preview Lab → · Contrast checker → · Palette generator →

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