#8A219F#8A219F

#8A219F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.200 H 320.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8A219F
RGBrgb(138, 33, 159)
HSLhsl(290, 66%, 38%)
HSVhsv(290, 79%, 62%)
CMYKcmyk(13.2%, 79.2%, 0%, 37.6%)
CIE-LABlab(35.97, 59.23, -45.57)
CIE-LCHlch(35.97, 74.73, 322.43°)
OKLaboklab(47.44% 0.1533 -0.1279)
OKLCHoklch(47.44% 0.2 320.2)
XYZxyz(17.2823, 8.9951, 33.6201)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A219F #369F21
analogous
#4B219F #8A219F #9F2175
triadic
#8A219F #9F8A21 #219F8A
tetradic
#8A219F #9F4B21 #369F21 #21759F
square
#8A219F #9F4B21 #369F21 #21759F
split-complementary
#8A219F #759F21 #219F4B
monochromatic
#320C3A #5E166C #8A219F #B62CD2 #C85DDD

Accessibility & contrast

On white

7.50
#8A219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A219F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A219F#FFFFFF#000000##FFFFFF
##8A219F1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#2E589C
Tritanopia (blue-blind)
#8A3C60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a219f;
/* rgb */ color: rgb(138, 33, 159);
/* oklch */ color: oklch(47.4% 0.200 320.2);
Tailwind
colors: {
  custom: {
    50: '#b06abc',
    500: '#8a219f',
    950: '#000000',
  },
}
SCSS
$custom: #8a219f;
$custom-light: #b06abc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a219f",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 290,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4744,
    "c": 0.19966,
    "h": 320.2
  },
  "luminance": 0.08994
}

Semantic roles & 50–950 ramp

primary
#8A219F
secondary
#6BC25A
accent
#E93F5B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A219F

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

Preview Lab → · Contrast checker → · Palette generator →

#8A219F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva