#8A2699#8A2699

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

Color values

HEX#8A2699
RGBrgb(138, 38, 153)
HSLhsl(292, 60%, 37%)
HSVhsv(292, 75%, 60%)
CMYKcmyk(9.8%, 75.2%, 0%, 40%)
CIE-LABlab(36.16, 56.47, -41.64)
CIE-LCHlch(36.16, 70.16, 323.60°)
OKLaboklab(47.45% 0.1495 -0.1164)
OKLCHoklch(47.45% 0.19 322.1)
XYZxyz(16.9235, 9.0904, 30.9940)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2699 #359926
analogous
#512699 #8A2699 #99266E
triadic
#8A2699 #998A26 #26998A
tetradic
#8A2699 #995126 #359926 #266E99
square
#8A2699 #995126 #359926 #266E99
split-complementary
#8A2699 #6E9926 #269951
monochromatic
#320E37 #5E1A68 #8A2699 #B632CA #C862D8

Accessibility & contrast

On white

7.45
#8A2699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2699
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2699#FFFFFF#000000##FFFFFF
##8A26991.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#365996
Tritanopia (blue-blind)
#8C3C5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2699;
/* rgb */ color: rgb(138, 38, 153);
/* oklch */ color: oklch(47.4% 0.190 322.1);
Tailwind
colors: {
  custom: {
    50: '#b06bb8',
    500: '#8a2699',
    950: '#000000',
  },
}
SCSS
$custom: #8a2699;
$custom-light: #b06bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2699",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 292.174,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47445,
    "c": 0.1895,
    "h": 322.1
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#8A2699
secondary
#6ABD5E
accent
#E34459
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2699

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

Preview Lab → · Contrast checker → · Palette generator →

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