#8024D9#8024D9

#8024D9 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.9% C 0.246 H 300.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8024D9
RGBrgb(128, 36, 217)
HSLhsl(270, 72%, 50%)
HSVhsv(270, 83%, 85%)
CMYKcmyk(41%, 83.4%, 0%, 14.9%)
CIE-LABlab(39.34, 68.69, -74.32)
CIE-LCHlch(39.34, 101.21, 312.75°)
OKLaboklab(50.89% 0.1233 -0.2127)
OKLCHoklch(50.89% 0.246 300.1)
XYZxyz(22.0542, 10.8605, 66.5665)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8024D9 #7DD924
analogous
#2524D9 #8024D9 #D924D8
triadic
#8024D9 #D98024 #24D980
tetradic
#8024D9 #D92524 #7DD924 #24D8D9
square
#8024D9 #D92524 #7DD924 #24D8D9
split-complementary
#8024D9 #D8D924 #24D925
monochromatic
#421370 #611BA5 #8024D9 #9E57E3 #BC8CEC

Accessibility & contrast

On white

6.62
#8024D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8024D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8024D9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8024D9#FFFFFF#000000##FFFFFF
##8024D91.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDE
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#6B5A82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8024d9;
/* rgb */ color: rgb(128, 36, 217);
/* oklch */ color: oklch(50.9% 0.246 300.1);
Tailwind
colors: {
  custom: {
    50: '#ad6de6',
    500: '#8024d9',
    950: '#000000',
  },
}
SCSS
$custom: #8024d9;
$custom-light: #ad6de6;
$custom-dark: #000000;
JSON
{
  "hex": "#8024d9",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 217
  },
  "hsl": {
    "h": 270.497,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.24582,
    "h": 300.1
  },
  "luminance": 0.10861
}

Semantic roles & 50–950 ramp

primary
#8024D9
secondary
#ACD683
accent
#EE3A92
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #8024D9

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

Preview Lab → · Contrast checker → · Palette generator →

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