#7217A0#7217A0

#7217A0 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.3% C 0.201 H 310.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7217A0
RGBrgb(114, 23, 160)
HSLhsl(280, 75%, 36%)
HSVhsv(280, 86%, 63%)
CMYKcmyk(28.8%, 85.6%, 0%, 37.3%)
CIE-LABlab(31.18, 58.09, -54.12)
CIE-LCHlch(31.18, 79.39, 317.03°)
OKLaboklab(43.34% 0.1295 -0.1537)
OKLCHoklch(43.34% 0.201 310.1)
XYZxyz(13.5897, 6.7286, 33.8337)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7217A0 #45A017
analogous
#2D17A0 #7217A0 #A01789
triadic
#7217A0 #A07217 #17A072
tetradic
#7217A0 #A02D17 #45A017 #1789A0
square
#7217A0 #A02D17 #45A017 #1789A0
split-complementary
#7217A0 #89A017 #17A02D
monochromatic
#260835 #4C0F6A #7217A0 #981FD6 #B24CE5

Accessibility & contrast

On white

8.95
#7217A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7217A0
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7217A0#FFFFFF#000000##FFFFFF
##7217A01.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#6B3D5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7217a0;
/* rgb */ color: rgb(114, 23, 160);
/* oklch */ color: oklch(43.3% 0.201 310.1);
Tailwind
colors: {
  custom: {
    50: '#a063bd',
    500: '#7217a0',
    950: '#000000',
  },
}
SCSS
$custom: #7217a0;
$custom-light: #a063bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7217a0",
  "rgb": {
    "r": 114,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 279.854,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43337,
    "c": 0.201,
    "h": 310.1
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#7217A0
secondary
#75C74C
accent
#F13675
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7217A0

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

Preview Lab → · Contrast checker → · Palette generator →

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