#7213A1#7213A1

#7213A1 is a dark, highly saturated purple. Relative luminance 0.066; OKLCH L 43.2% C 0.205 H 310.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7213A1
RGBrgb(114, 19, 161)
HSLhsl(280, 79%, 35%)
HSVhsv(280, 88%, 63%)
CMYKcmyk(29.2%, 88.2%, 0%, 36.9%)
CIE-LABlab(30.92, 59.31, -55.15)
CIE-LCHlch(30.92, 80.99, 317.08°)
OKLaboklab(43.18% 0.1315 -0.1568)
OKLCHoklch(43.18% 0.205 310)
XYZxyz(13.6040, 6.6167, 34.2718)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7213A1 #42A113
analogous
#2B13A1 #7213A1 #A11389
triadic
#7213A1 #A17213 #13A172
tetradic
#7213A1 #A12B13 #42A113 #1389A1
square
#7213A1 #A12B13 #42A113 #1389A1
split-complementary
#7213A1 #89A113 #13A12B
monochromatic
#240634 #4B0D6A #7213A1 #9919D8 #B345E9

Accessibility & contrast

On white

9.04
#7213A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7213A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7213A1
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7213A1#FFFFFF#000000##FFFFFF
##7213A11.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#6B3C5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7213a1;
/* rgb */ color: rgb(114, 19, 161);
/* oklch */ color: oklch(43.2% 0.205 310.0);
Tailwind
colors: {
  custom: {
    50: '#a061be',
    500: '#7213a1',
    950: '#000000',
  },
}
SCSS
$custom: #7213a1;
$custom-light: #a061be;
$custom-dark: #000000;
JSON
{
  "hex": "#7213a1",
  "rgb": {
    "r": 114,
    "g": 19,
    "b": 161
  },
  "hsl": {
    "h": 280.141,
    "s": 78.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43181,
    "c": 0.20464,
    "h": 310
  },
  "luminance": 0.06616
}

Semantic roles & 50–950 ramp

primary
#7213A1
secondary
#72CA46
accent
#F53273
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7213A1

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

Preview Lab → · Contrast checker → · Palette generator →

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