#8724BA#8724BA

#8724BA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.219 H 310.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8724BA
RGBrgb(135, 36, 186)
HSLhsl(280, 68%, 44%)
HSVhsv(280, 81%, 73%)
CMYKcmyk(27.4%, 80.6%, 0%, 27.1%)
CIE-LABlab(37.77, 63.06, -58.81)
CIE-LCHlch(37.77, 86.23, 317.00°)
OKLaboklab(49.22% 0.1421 -0.1669)
OKLCHoklch(49.22% 0.219 310.4)
XYZxyz(19.4837, 9.9583, 47.3406)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8724BA #57BA24
analogous
#3C24BA #8724BA #BA24A2
triadic
#8724BA #BA8724 #24BA87
tetradic
#8724BA #BA3C24 #57BA24 #24A2BA
square
#8724BA #BA3C24 #57BA24 #24A2BA
split-complementary
#8724BA #A2BA24 #24BA3C
monochromatic
#3D1053 #621A87 #8724BA #A641DA #BE74E4

Accessibility & contrast

On white

7.02
#8724BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8724BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8724BA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8724BA#FFFFFF#000000##FFFFFF
##8724BA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#804B70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8724ba;
/* rgb */ color: rgb(135, 36, 186);
/* oklch */ color: oklch(49.2% 0.219 310.4);
Tailwind
colors: {
  custom: {
    50: '#af6cd0',
    500: '#8724ba',
    950: '#000000',
  },
}
SCSS
$custom: #8724ba;
$custom-light: #af6cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8724ba",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 279.6,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.21922,
    "h": 310.4
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#8724BA
secondary
#8ECB6E
accent
#EA3D78
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8724BA

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

Preview Lab → · Contrast checker → · Palette generator →

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