#8022B4#8022B4

#8022B4 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.7% C 0.214 H 309.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8022B4
RGBrgb(128, 34, 180)
HSLhsl(279, 68%, 42%)
HSVhsv(279, 81%, 71%)
CMYKcmyk(28.9%, 81.1%, 0%, 29.4%)
CIE-LABlab(36.04, 61.28, -58.12)
CIE-LCHlch(36.04, 84.45, 316.51°)
OKLaboklab(47.65% 0.1357 -0.1651)
OKLCHoklch(47.65% 0.214 309.4)
XYZxyz(17.7107, 9.0289, 43.9809)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8022B4 #56B422
analogous
#3722B4 #8022B4 #B4229F
triadic
#8022B4 #B48022 #22B480
tetradic
#8022B4 #B43722 #56B422 #229FB4
square
#8022B4 #B43722 #56B422 #229FB4
split-complementary
#8022B4 #9FB422 #22B437
monochromatic
#370F4D #5B1881 #8022B4 #A13ADA #B96DE3

Accessibility & contrast

On white

7.48
#8022B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8022B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8022B4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8022B4#FFFFFF#000000##FFFFFF
##8022B41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#78486C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8022b4;
/* rgb */ color: rgb(128, 34, 180);
/* oklch */ color: oklch(47.7% 0.214 309.4);
Tailwind
colors: {
  custom: {
    50: '#aa6acb',
    500: '#8022b4',
    950: '#000000',
  },
}
SCSS
$custom: #8022b4;
$custom-light: #aa6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8022b4",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 278.63,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47652,
    "c": 0.21369,
    "h": 309.4
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

primary
#8022B4
secondary
#8BCA68
accent
#EB3D7B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8022B4

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

Preview Lab → · Contrast checker → · Palette generator →

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