#8A2692#8A2692

#8A2692 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.184 H 324.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8A2692
RGBrgb(138, 38, 146)
HSLhsl(296, 59%, 36%)
HSVhsv(296, 74%, 57%)
CMYKcmyk(5.5%, 74%, 0%, 42.7%)
CIE-LABlab(35.72, 55.19, -38.06)
CIE-LCHlch(35.72, 67.04, 325.41°)
OKLaboklab(47% 0.1499 -0.106)
OKLCHoklch(47% 0.184 324.7)
XYZxyz(16.3622, 8.8659, 28.0380)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2692 #2E9226
analogous
#542692 #8A2692 #922664
triadic
#8A2692 #928A26 #26928A
tetradic
#8A2692 #925426 #2E9226 #266492
square
#8A2692 #925426 #2E9226 #266492
split-complementary
#8A2692 #649226 #269254
monochromatic
#2E0D31 #5C1961 #8A2692 #B833C3 #CC5DD5

Accessibility & contrast

On white

7.57
#8A2692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A2692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2692
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2692#FFFFFF#000000##FFFFFF
##8A26921.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014C95
Deuteranopia (green-blind)
#3C588F
Tritanopia (blue-blind)
#8D395A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2692;
/* rgb */ color: rgb(138, 38, 146);
/* oklch */ color: oklch(47.0% 0.184 324.7);
Tailwind
colors: {
  custom: {
    50: '#b06bb2',
    500: '#8a2692',
    950: '#000000',
  },
}
SCSS
$custom: #8a2692;
$custom-light: #b06bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2692",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 146
  },
  "hsl": {
    "h": 295.556,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.18358,
    "h": 324.7
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#8A2692
secondary
#61BA5A
accent
#E24651
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2692

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

Preview Lab → · Contrast checker → · Palette generator →

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