#8A269B#8A269B

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

Color values

HEX#8A269B
RGBrgb(138, 38, 155)
HSLhsl(291, 61%, 38%)
HSVhsv(291, 75%, 61%)
CMYKcmyk(11%, 75.5%, 0%, 39.2%)
CIE-LABlab(36.28, 56.84, -42.65)
CIE-LCHlch(36.28, 71.06, 323.12°)
OKLaboklab(47.58% 0.1494 -0.1194)
OKLCHoklch(47.58% 0.191 321.4)
XYZxyz(17.0901, 9.1570, 31.8713)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A269B #379B26
analogous
#4F269B #8A269B #9B2671
triadic
#8A269B #9B8A26 #269B8A
tetradic
#8A269B #9B4F26 #379B26 #26719B
square
#8A269B #9B4F26 #379B26 #26719B
split-complementary
#8A269B #719B26 #269B4F
monochromatic
#320E39 #5E1A6A #8A269B #B632CC #C863D9

Accessibility & contrast

On white

7.42
#8A269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A269B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A269B#FFFFFF#000000##FFFFFF
##8A269B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a269b;
/* rgb */ color: rgb(138, 38, 155);
/* oklch */ color: oklch(47.6% 0.191 321.4);
Tailwind
colors: {
  custom: {
    50: '#b06bb9',
    500: '#8a269b',
    950: '#000000',
  },
}
SCSS
$custom: #8a269b;
$custom-light: #b06bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a269b",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 291.282,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47576,
    "c": 0.19121,
    "h": 321.4
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#8A269B
secondary
#6DBE5F
accent
#E4445B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A269B

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

Preview Lab → · Contrast checker → · Palette generator →

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