#8220B4#8220B4

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

Color values

HEX#8220B4
RGBrgb(130, 32, 180)
HSLhsl(280, 70%, 42%)
HSVhsv(280, 82%, 71%)
CMYKcmyk(27.8%, 82.2%, 0%, 29.4%)
CIE-LABlab(36.13, 62.23, -57.96)
CIE-LCHlch(36.13, 85.04, 317.03°)
OKLaboklab(47.77% 0.1398 -0.1645)
OKLCHoklch(47.77% 0.216 310.4)
XYZxyz(17.9590, 9.0746, 43.9767)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8220B4 #52B420
analogous
#3820B4 #8220B4 #B4209C
triadic
#8220B4 #B48220 #20B482
tetradic
#8220B4 #B43820 #52B420 #209CB4
square
#8220B4 #B43820 #52B420 #209CB4
split-complementary
#8220B4 #9CB420 #20B438
monochromatic
#370E4C #5C1780 #8220B4 #A336DB #BB6AE4

Accessibility & contrast

On white

7.46
#8220B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8220B4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8220B4#FFFFFF#000000##FFFFFF
##8220B41.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8220b4;
/* rgb */ color: rgb(130, 32, 180);
/* oklch */ color: oklch(47.8% 0.216 310.4);
Tailwind
colors: {
  custom: {
    50: '#ac69cb',
    500: '#8220b4',
    950: '#000000',
  },
}
SCSS
$custom: #8220b4;
$custom-light: #ac69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8220b4",
  "rgb": {
    "r": 130,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 279.73,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47774,
    "c": 0.21594,
    "h": 310.4
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#8220B4
secondary
#88CA66
accent
#ED3B77
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8220B4

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

Preview Lab → · Contrast checker → · Palette generator →

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