#8A299D#8A299D

#8A299D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 320.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8A299D
RGBrgb(138, 41, 157)
HSLhsl(290, 59%, 39%)
HSVhsv(290, 74%, 62%)
CMYKcmyk(12.1%, 73.9%, 0%, 38.4%)
CIE-LABlab(36.79, 56.15, -43.05)
CIE-LCHlch(36.79, 70.75, 322.52°)
OKLaboklab(47.98% 0.1463 -0.1206)
OKLCHoklch(47.98% 0.19 320.5)
XYZxyz(17.3592, 9.4244, 32.7965)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A299D #3C9D29
analogous
#50299D #8A299D #9D2976
triadic
#8A299D #9D8A29 #299D8A
tetradic
#8A299D #9D5029 #3C9D29 #29769D
square
#8A299D #9D5029 #3C9D29 #29769D
split-complementary
#8A299D #769D29 #299D50
monochromatic
#35103C #5F1C6C #8A299D #B338CB #C669D8

Accessibility & contrast

On white

7.28
#8A299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A299D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A299D#FFFFFF#000000##FFFFFF
##8A299D1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#355A9A
Tritanopia (blue-blind)
#8B3F61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a299d;
/* rgb */ color: rgb(138, 41, 157);
/* oklch */ color: oklch(48.0% 0.190 320.5);
Tailwind
colors: {
  custom: {
    50: '#b06dba',
    500: '#8a299d',
    950: '#000000',
  },
}
SCSS
$custom: #8a299d;
$custom-light: #b06dba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a299d",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 290.172,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.18961,
    "h": 320.5
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#8A299D
secondary
#73BE64
accent
#E24660
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A299D

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

Preview Lab → · Contrast checker → · Palette generator →

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