#8A269A#8A269A

#8A269A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.190 H 321.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8A269A
RGBrgb(138, 38, 154)
HSLhsl(292, 60%, 38%)
HSVhsv(292, 75%, 60%)
CMYKcmyk(10.4%, 75.3%, 0%, 39.6%)
CIE-LABlab(36.22, 56.66, -42.14)
CIE-LCHlch(36.22, 70.61, 323.36°)
OKLaboklab(47.51% 0.1494 -0.1179)
OKLCHoklch(47.51% 0.19 321.7)
XYZxyz(17.0064, 9.1235, 31.4308)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A269A #369A26
analogous
#50269A #8A269A #9A2670
triadic
#8A269A #9A8A26 #269A8A
tetradic
#8A269A #9A5026 #369A26 #26709A
square
#8A269A #9A5026 #369A26 #26709A
split-complementary
#8A269A #709A26 #269A50
monochromatic
#320E38 #5E1A69 #8A269A #B632CB #C862D8

Accessibility & contrast

On white

7.43
#8A269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8A269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A269A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A269A#FFFFFF#000000##FFFFFF
##8A269A1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a269a;
/* rgb */ color: rgb(138, 38, 154);
/* oklch */ color: oklch(47.5% 0.190 321.7);
Tailwind
colors: {
  custom: {
    50: '#b06bb8',
    500: '#8a269a',
    950: '#000000',
  },
}
SCSS
$custom: #8a269a;
$custom-light: #b06bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a269a",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 291.724,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4751,
    "c": 0.19035,
    "h": 321.7
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

primary
#8A269A
secondary
#6BBE5E
accent
#E4445A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A269A

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

Preview Lab → · Contrast checker → · Palette generator →

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