#8218B0#8218B0

#8218B0 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.9% C 0.219 H 311.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8218B0
RGBrgb(130, 24, 176)
HSLhsl(282, 76%, 39%)
HSVhsv(282, 86%, 69%)
CMYKcmyk(26.1%, 86.4%, 0%, 31%)
CIE-LABlab(35.07, 63.59, -57.30)
CIE-LCHlch(35.07, 85.60, 317.98°)
OKLaboklab(46.94% 0.146 -0.1625)
OKLCHoklch(46.94% 0.219 311.9)
XYZxyz(17.3676, 8.5342, 41.7983)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8218B0 #46B018
analogous
#3618B0 #8218B0 #B01892
triadic
#8218B0 #B08218 #18B082
tetradic
#8218B0 #B03618 #46B018 #1892B0
square
#8218B0 #B03618 #46B018 #1892B0
split-complementary
#8218B0 #92B018 #18B036
monochromatic
#320944 #5A117A #8218B0 #A824E1 #BD5AE8

Accessibility & contrast

On white

7.76
#8218B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8218B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8218B0
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8218B0#FFFFFF#000000##FFFFFF
##8218B01.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#7C4268
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8218b0;
/* rgb */ color: rgb(130, 24, 176);
/* oklch */ color: oklch(46.9% 0.219 311.9);
Tailwind
colors: {
  custom: {
    50: '#ac66c9',
    500: '#8218b0',
    950: '#000000',
  },
}
SCSS
$custom: #8218b0;
$custom-light: #ac66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8218b0",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 176
  },
  "hsl": {
    "h": 281.842,
    "s": 76,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46942,
    "c": 0.21851,
    "h": 311.9
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#8218B0
secondary
#7BCC58
accent
#F3356F
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8218B0

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

Preview Lab → · Contrast checker → · Palette generator →

#8218B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva