#8A279A#8A279A

#8A279A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.189 H 321.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8A279A
RGBrgb(138, 39, 154)
HSLhsl(292, 60%, 38%)
HSVhsv(292, 75%, 60%)
CMYKcmyk(10.4%, 74.7%, 0%, 39.6%)
CIE-LABlab(36.34, 56.30, -41.94)
CIE-LCHlch(36.34, 70.21, 323.32°)
OKLaboklab(47.6% 0.1485 -0.1173)
OKLCHoklch(47.6% 0.189 321.7)
XYZxyz(17.0389, 9.1884, 31.4416)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A279A #379A27
analogous
#50279A #8A279A #9A2770
triadic
#8A279A #9A8A27 #279A8A
tetradic
#8A279A #9A5027 #379A27 #27709A
square
#8A279A #9A5027 #379A27 #27709A
split-complementary
#8A279A #709A27 #279A50
monochromatic
#320E38 #5E1B69 #8A279A #B633CB #C864D8

Accessibility & contrast

On white

7.40
#8A279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8A279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A279A
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A279A#FFFFFF#000000##FFFFFF
##8A279A1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#8B3D5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a279a;
/* rgb */ color: rgb(138, 39, 154);
/* oklch */ color: oklch(47.6% 0.189 321.7);
Tailwind
colors: {
  custom: {
    50: '#b06cb8',
    500: '#8a279a',
    950: '#000000',
  },
}
SCSS
$custom: #8a279a;
$custom-light: #b06cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a279a",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 291.652,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47598,
    "c": 0.18925,
    "h": 321.7
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#8A279A
secondary
#6DBD5F
accent
#E3455B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A279A

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

Preview Lab → · Contrast checker → · Palette generator →

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