#8024BB#8024BB

#8024BB is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.218 H 307.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8024BB
RGBrgb(128, 36, 187)
HSLhsl(277, 68%, 44%)
HSVhsv(277, 81%, 73%)
CMYKcmyk(31.6%, 80.7%, 0%, 26.7%)
CIE-LABlab(36.82, 62.11, -60.99)
CIE-LCHlch(36.82, 87.05, 315.52°)
OKLaboklab(48.37% 0.1324 -0.1736)
OKLCHoklch(48.37% 0.218 307.3)
XYZxyz(18.5007, 9.4391, 47.8514)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8024BB #5FBB24
analogous
#3424BB #8024BB #BB24AA
triadic
#8024BB #BB8024 #24BB80
tetradic
#8024BB #BB3424 #5FBB24 #24AABB
square
#8024BB #BB3424 #5FBB24 #24AABB
split-complementary
#8024BB #AABB24 #24BB34
monochromatic
#3A1054 #5D1A88 #8024BB #9F42DB #B975E4

Accessibility & contrast

On white

7.27
#8024BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8024BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8024BB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8024BB#FFFFFF#000000##FFFFFF
##8024BB1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#764C71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8024bb;
/* rgb */ color: rgb(128, 36, 187);
/* oklch */ color: oklch(48.4% 0.218 307.3);
Tailwind
colors: {
  custom: {
    50: '#ab6bd0',
    500: '#8024bb',
    950: '#000000',
  },
}
SCSS
$custom: #8024bb;
$custom-light: #ab6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8024bb",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 276.556,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48366,
    "c": 0.2183,
    "h": 307.3
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#8024BB
secondary
#93CC6F
accent
#EB3D81
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8024BB

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

Preview Lab → · Contrast checker → · Palette generator →

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