#8721BD#8721BD

#8721BD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.2% C 0.224 H 309.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8721BD
RGBrgb(135, 33, 189)
HSLhsl(279, 70%, 44%)
HSVhsv(279, 83%, 74%)
CMYKcmyk(28.6%, 82.5%, 0%, 25.9%)
CIE-LABlab(37.69, 64.59, -60.71)
CIE-LCHlch(37.69, 88.64, 316.77°)
OKLaboklab(49.23% 0.1435 -0.1725)
OKLCHoklch(49.23% 0.224 309.8)
XYZxyz(19.7190, 9.9132, 49.0089)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8721BD #57BD21
analogous
#3921BD #8721BD #BD21A5
triadic
#8721BD #BD8721 #21BD87
tetradic
#8721BD #BD3921 #57BD21 #21A5BD
square
#8721BD #BD3921 #57BD21 #21A5BD
split-complementary
#8721BD #A5BD21 #21BD39
monochromatic
#3D0F55 #621889 #8721BD #A63EDD #BE72E6

Accessibility & contrast

On white

7.04
#8721BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8721BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8721BD
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8721BD#FFFFFF#000000##FFFFFF
##8721BD1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#7F4B71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8721bd;
/* rgb */ color: rgb(135, 33, 189);
/* oklch */ color: oklch(49.2% 0.224 309.8);
Tailwind
colors: {
  custom: {
    50: '#b06bd2',
    500: '#8721bd',
    950: '#000000',
  },
}
SCSS
$custom: #8721bd;
$custom-light: #b06bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8721bd",
  "rgb": {
    "r": 135,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 279.231,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.22437,
    "h": 309.8
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#8721BD
secondary
#8ECD6D
accent
#ED3B78
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8721BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8721BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva