#8A279E#8A279E

#8A279E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.193 H 320.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8A279E
RGBrgb(138, 39, 158)
HSLhsl(290, 60%, 39%)
HSVhsv(290, 75%, 62%)
CMYKcmyk(12.7%, 75.3%, 0%, 38%)
CIE-LABlab(36.60, 57.06, -43.96)
CIE-LCHlch(36.60, 72.03, 322.39°)
OKLaboklab(47.86% 0.1482 -0.1232)
OKLCHoklch(47.86% 0.193 320.3)
XYZxyz(17.3776, 9.3238, 33.2255)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A279E #3B9E27
analogous
#4E279E #8A279E #9E2776
triadic
#8A279E #9E8A27 #279E8A
tetradic
#8A279E #9E4E27 #3B9E27 #27769E
square
#8A279E #9E4E27 #3B9E27 #27769E
split-complementary
#8A279E #769E27 #279E4E
monochromatic
#340F3C #5F1B6D #8A279E #B435CD #C666D9

Accessibility & contrast

On white

7.33
#8A279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A279E
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A279E#FFFFFF#000000##FFFFFF
##8A279E1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#33599B
Tritanopia (blue-blind)
#8B3F61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a279e;
/* rgb */ color: rgb(138, 39, 158);
/* oklch */ color: oklch(47.9% 0.193 320.3);
Tailwind
colors: {
  custom: {
    50: '#b06cbb',
    500: '#8a279e',
    950: '#000000',
  },
}
SCSS
$custom: #8a279e;
$custom-light: #b06cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a279e",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 289.916,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47862,
    "c": 0.1927,
    "h": 320.3
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#8A279E
secondary
#71BF62
accent
#E4445F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A279E

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

Preview Lab → · Contrast checker → · Palette generator →

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