#8022B3#8022B3

#8022B3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.213 H 309.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8022B3
RGBrgb(128, 34, 179)
HSLhsl(279, 68%, 42%)
HSVhsv(279, 81%, 70%)
CMYKcmyk(28.5%, 81%, 0%, 29.8%)
CIE-LABlab(35.96, 61.07, -57.65)
CIE-LCHlch(35.96, 83.98, 316.65°)
OKLaboklab(47.57% 0.1359 -0.1637)
OKLCHoklch(47.57% 0.213 309.7)
XYZxyz(17.6092, 8.9883, 43.4464)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8022B3 #55B322
analogous
#3822B3 #8022B3 #B3229D
triadic
#8022B3 #B38022 #22B380
tetradic
#8022B3 #B33822 #55B322 #229DB3
square
#8022B3 #B33822 #55B322 #229DB3
split-complementary
#8022B3 #9DB322 #22B338
monochromatic
#360E4C #5B1880 #8022B3 #A139D9 #B96CE3

Accessibility & contrast

On white

7.51
#8022B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8022B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8022B3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8022B3#FFFFFF#000000##FFFFFF
##8022B31.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8022b3;
/* rgb */ color: rgb(128, 34, 179);
/* oklch */ color: oklch(47.6% 0.213 309.7);
Tailwind
colors: {
  custom: {
    50: '#aa6acb',
    500: '#8022b3',
    950: '#000000',
  },
}
SCSS
$custom: #8022b3;
$custom-light: #aa6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8022b3",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 278.897,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47573,
    "c": 0.21279,
    "h": 309.7
  },
  "luminance": 0.08988
}

Semantic roles & 50–950 ramp

primary
#8022B3
secondary
#8AC968
accent
#EB3D7A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8022B3

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

Preview Lab → · Contrast checker → · Palette generator →

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