#8024BD#8024BD

#8024BD is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.220 H 306.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8024BD
RGBrgb(128, 36, 189)
HSLhsl(276, 68%, 44%)
HSVhsv(276, 81%, 74%)
CMYKcmyk(32.3%, 81%, 0%, 25.9%)
CIE-LABlab(36.98, 62.54, -61.91)
CIE-LCHlch(36.98, 88.00, 315.29°)
OKLaboklab(48.53% 0.1319 -0.1762)
OKLCHoklch(48.53% 0.22 306.8)
XYZxyz(18.7163, 9.5253, 48.9868)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8024BD #61BD24
analogous
#3324BD #8024BD #BD24AE
triadic
#8024BD #BD8024 #24BD80
tetradic
#8024BD #BD3324 #61BD24 #24AEBD
square
#8024BD #BD3324 #61BD24 #24AEBD
split-complementary
#8024BD #AEBD24 #24BD33
monochromatic
#3A1056 #5D1A8A #8024BD #9F43DB #B976E5

Accessibility & contrast

On white

7.23
#8024BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8024BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8024BD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8024BD#FFFFFF#000000##FFFFFF
##8024BD1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#754D72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8024bd;
/* rgb */ color: rgb(128, 36, 189);
/* oklch */ color: oklch(48.5% 0.220 306.8);
Tailwind
colors: {
  custom: {
    50: '#ab6bd2',
    500: '#8024bd',
    950: '#000000',
  },
}
SCSS
$custom: #8024bd;
$custom-light: #ab6bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8024bd",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 276.078,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.22012,
    "h": 306.8
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#8024BD
secondary
#95CC70
accent
#EB3D82
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8024BD

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

Preview Lab → · Contrast checker → · Palette generator →

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