#8A26AF#8A26AF

#8A26AF is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.209 H 314.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8A26AF
RGBrgb(138, 38, 175)
HSLhsl(284, 64%, 42%)
HSVhsv(284, 78%, 69%)
CMYKcmyk(21.1%, 78.3%, 0%, 31.4%)
CIE-LABlab(37.64, 60.71, -52.49)
CIE-LCHlch(37.64, 80.25, 319.15°)
OKLaboklab(48.96% 0.1468 -0.1482)
OKLCHoklch(48.96% 0.209 314.7)
XYZxyz(18.9109, 9.8853, 41.4610)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26AF #4BAF26
analogous
#4626AF #8A26AF #AF2690
triadic
#8A26AF #AF8A26 #26AF8A
tetradic
#8A26AF #AF4626 #4BAF26 #2690AF
square
#8A26AF #AF4626 #4BAF26 #2690AF
split-complementary
#8A26AF #90AF26 #26AF46
monochromatic
#3B104A #621B7D #8A26AF #AC3DD5 #C270E0

Accessibility & contrast

On white

7.05
#8A26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A26AF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26AF#FFFFFF#000000##FFFFFF
##8A26AF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#1D5BAC
Tritanopia (blue-blind)
#87466A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a26af;
/* rgb */ color: rgb(138, 38, 175);
/* oklch */ color: oklch(49.0% 0.209 314.7);
Tailwind
colors: {
  custom: {
    50: '#b16cc8',
    500: '#8a26af',
    950: '#000000',
  },
}
SCSS
$custom: #8a26af;
$custom-light: #b16cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26af",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 283.796,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48961,
    "c": 0.20858,
    "h": 314.7
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#8A26AF
secondary
#83C76A
accent
#E7406E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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