#8A269D#8A269D

#8A269D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.193 H 320.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8A269D
RGBrgb(138, 38, 157)
HSLhsl(290, 61%, 38%)
HSVhsv(290, 76%, 62%)
CMYKcmyk(12.1%, 75.8%, 0%, 38.4%)
CIE-LABlab(36.41, 57.22, -43.65)
CIE-LCHlch(36.41, 71.97, 322.66°)
OKLaboklab(47.71% 0.1492 -0.1223)
OKLCHoklch(47.71% 0.193 320.7)
XYZxyz(17.2594, 9.2247, 32.7632)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A269D #399D26
analogous
#4E269D #8A269D #9D2674
triadic
#8A269D #9D8A26 #269D8A
tetradic
#8A269D #9D4E26 #399D26 #26749D
square
#8A269D #9D4E26 #399D26 #26749D
split-complementary
#8A269D #749D26 #269D4E
monochromatic
#330E3A #5F1A6C #8A269D #B533CE #C764D9

Accessibility & contrast

On white

7.38
#8A269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A269D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A269D#FFFFFF#000000##FFFFFF
##8A269D1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#33599A
Tritanopia (blue-blind)
#8B3E60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a269d;
/* rgb */ color: rgb(138, 38, 157);
/* oklch */ color: oklch(47.7% 0.193 320.7);
Tailwind
colors: {
  custom: {
    50: '#b06cba',
    500: '#8a269d',
    950: '#000000',
  },
}
SCSS
$custom: #8a269d;
$custom-light: #b06cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a269d",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 290.42,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47709,
    "c": 0.19292,
    "h": 320.7
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#8A269D
secondary
#6FBF60
accent
#E4445D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A269D

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

Preview Lab → · Contrast checker → · Palette generator →

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