#722A87#722A87

#722A87 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.158 H 317.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#722A87
RGBrgb(114, 42, 135)
HSLhsl(286, 53%, 35%)
HSVhsv(286, 69%, 53%)
CMYKcmyk(15.6%, 68.9%, 0%, 47.1%)
CIE-LABlab(31.77, 45.91, -37.82)
CIE-LCHlch(31.77, 59.48, 320.51°)
OKLaboklab(43.18% 0.1166 -0.106)
OKLCHoklch(43.18% 0.158 317.7)
XYZxyz(12.1399, 6.9831, 23.6254)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#722A87 #3F872A
analogous
#442A87 #722A87 #872A6D
triadic
#722A87 #87722A #2A8772
tetradic
#722A87 #87442A #3F872A #2A6D87
square
#722A87 #87442A #3F872A #2A6D87
split-complementary
#722A87 #6D872A #2A8744
monochromatic
#230D2A #4B1B58 #722A87 #9939B6 #B45ECD

Accessibility & contrast

On white

8.76
#722A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#722A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #722A87
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##722A87#FFFFFF#000000##FFFFFF
##722A871.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01468A
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#713B55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #722a87;
/* rgb */ color: rgb(114, 42, 135);
/* oklch */ color: oklch(43.2% 0.158 317.7);
Tailwind
colors: {
  custom: {
    50: '#9e6aaa',
    500: '#722a87',
    950: '#000000',
  },
}
SCSS
$custom: #722a87;
$custom-light: #9e6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#722a87",
  "rgb": {
    "r": 114,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 286.452,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43177,
    "c": 0.15758,
    "h": 317.7
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#722A87
secondary
#6EB35A
accent
#DC4C6C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #722A87

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

Preview Lab → · Contrast checker → · Palette generator →

#722A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva