#8024B4#8024B4

#8024B4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.212 H 309.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8024B4
RGBrgb(128, 36, 180)
HSLhsl(278, 67%, 42%)
HSVhsv(278, 80%, 71%)
CMYKcmyk(28.9%, 80%, 0%, 29.4%)
CIE-LABlab(36.27, 60.62, -57.75)
CIE-LCHlch(36.27, 83.73, 316.39°)
OKLaboklab(47.81% 0.1342 -0.164)
OKLCHoklch(47.81% 0.212 309.3)
XYZxyz(17.7695, 9.1466, 44.0005)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8024B4 #58B424
analogous
#3824B4 #8024B4 #B424A0
triadic
#8024B4 #B48024 #24B480
tetradic
#8024B4 #B43824 #58B424 #24A0B4
square
#8024B4 #B43824 #58B424 #24A0B4
split-complementary
#8024B4 #A0B424 #24B438
monochromatic
#37104E #5C1A81 #8024B4 #A03DD8 #B970E2

Accessibility & contrast

On white

7.42
#8024B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8024B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8024B4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8024B4#FFFFFF#000000##FFFFFF
##8024B41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#78496D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8024b4;
/* rgb */ color: rgb(128, 36, 180);
/* oklch */ color: oklch(47.8% 0.212 309.3);
Tailwind
colors: {
  custom: {
    50: '#aa6bcb',
    500: '#8024b4',
    950: '#000000',
  },
}
SCSS
$custom: #8024b4;
$custom-light: #aa6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8024b4",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 278.333,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47809,
    "c": 0.21191,
    "h": 309.3
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#8024B4
secondary
#8DC96B
accent
#EA3E7C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8024B4

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

Preview Lab → · Contrast checker → · Palette generator →

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