#8724D9#8724D9

#8724D9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.7% C 0.247 H 302.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8724D9
RGBrgb(135, 36, 217)
HSLhsl(273, 72%, 50%)
HSVhsv(273, 83%, 85%)
CMYKcmyk(37.8%, 83.4%, 0%, 14.9%)
CIE-LABlab(40.28, 69.63, -72.75)
CIE-LCHlch(40.28, 100.70, 313.74°)
OKLaboklab(51.74% 0.1333 -0.2078)
OKLCHoklch(51.74% 0.247 302.7)
XYZxyz(23.1439, 11.4224, 66.6176)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8724D9 #76D924
analogous
#2D24D9 #8724D9 #D924D1
triadic
#8724D9 #D98724 #24D987
tetradic
#8724D9 #D92D24 #76D924 #24D1D9
square
#8724D9 #D92D24 #76D924 #24D1D9
split-complementary
#8724D9 #D1D924 #24D92D
monochromatic
#461370 #661BA5 #8724D9 #A457E3 #C08CEC

Accessibility & contrast

On white

6.39
#8724D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8724D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8724D9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8724D9#FFFFFF#000000##FFFFFF
##8724D91.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDE
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#755982
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8724d9;
/* rgb */ color: rgb(135, 36, 217);
/* oklch */ color: oklch(51.7% 0.247 302.7);
Tailwind
colors: {
  custom: {
    50: '#b26de6',
    500: '#8724d9',
    950: '#000000',
  },
}
SCSS
$custom: #8724d9;
$custom-light: #b26de6;
$custom-dark: #000000;
JSON
{
  "hex": "#8724d9",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 217
  },
  "hsl": {
    "h": 272.818,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.24693,
    "h": 302.7
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#8724D9
secondary
#A9D683
accent
#EE3A8B
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #8724D9

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

Preview Lab → · Contrast checker → · Palette generator →

#8724D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva