#8A269E#8A269E

#8A269E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.194 H 320.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8A269E
RGBrgb(138, 38, 158)
HSLhsl(290, 61%, 38%)
HSVhsv(290, 76%, 62%)
CMYKcmyk(12.7%, 75.9%, 0%, 38%)
CIE-LABlab(36.48, 57.41, -44.15)
CIE-LCHlch(36.48, 72.42, 322.44°)
OKLaboklab(47.78% 0.1491 -0.1238)
OKLCHoklch(47.78% 0.194 320.3)
XYZxyz(17.3452, 9.2590, 33.2147)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A269E #3A9E26
analogous
#4E269E #8A269E #9E2676
triadic
#8A269E #9E8A26 #269E8A
tetradic
#8A269E #9E4E26 #3A9E26 #26769E
square
#8A269E #9E4E26 #3A9E26 #26769E
split-complementary
#8A269E #769E26 #269E4E
monochromatic
#340E3B #5F1A6D #8A269E #B433CE #C665DA

Accessibility & contrast

On white

7.36
#8A269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A269E
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A269E#FFFFFF#000000##FFFFFF
##8A269E1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#8B3E61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a269e;
/* rgb */ color: rgb(138, 38, 158);
/* oklch */ color: oklch(47.8% 0.194 320.3);
Tailwind
colors: {
  custom: {
    50: '#b06cbb',
    500: '#8a269e',
    950: '#000000',
  },
}
SCSS
$custom: #8a269e;
$custom-light: #b06cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a269e",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 290,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47775,
    "c": 0.19378,
    "h": 320.3
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

primary
#8A269E
secondary
#70C060
accent
#E4435E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A269E

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

Preview Lab → · Contrast checker → · Palette generator →

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