#8A279F#8A279F

#8A279F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.194 H 319.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8A279F
RGBrgb(138, 39, 159)
HSLhsl(290, 61%, 39%)
HSVhsv(290, 75%, 62%)
CMYKcmyk(13.2%, 75.5%, 0%, 37.6%)
CIE-LABlab(36.67, 57.25, -44.46)
CIE-LCHlch(36.67, 72.48, 322.17°)
OKLaboklab(47.93% 0.1481 -0.1247)
OKLCHoklch(47.93% 0.194 319.9)
XYZxyz(17.4640, 9.3584, 33.6806)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A279F #3C9F27
analogous
#4E279F #8A279F #9F2778
triadic
#8A279F #9F8A27 #279F8A
tetradic
#8A279F #9F4E27 #3C9F27 #27789F
square
#8A279F #9F4E27 #3C9F27 #27789F
split-complementary
#8A279F #789F27 #279F4E
monochromatic
#350F3D #5F1B6E #8A279F #B336CE #C667DA

Accessibility & contrast

On white

7.31
#8A279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A279F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A279F#FFFFFF#000000##FFFFFF
##8A279F1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#325A9C
Tritanopia (blue-blind)
#8A3F61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a279f;
/* rgb */ color: rgb(138, 39, 159);
/* oklch */ color: oklch(47.9% 0.194 319.9);
Tailwind
colors: {
  custom: {
    50: '#b06cbc',
    500: '#8a279f',
    950: '#000000',
  },
}
SCSS
$custom: #8a279f;
$custom-light: #b06cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a279f",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 289.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.19358,
    "h": 319.9
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#8A279F
secondary
#73C062
accent
#E44460
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A279F

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

Preview Lab → · Contrast checker → · Palette generator →

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