#8A299E#8A299E

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

Color values

HEX#8A299E
RGBrgb(138, 41, 158)
HSLhsl(290, 59%, 39%)
HSVhsv(290, 74%, 62%)
CMYKcmyk(12.7%, 74.1%, 0%, 38%)
CIE-LABlab(36.85, 56.34, -43.55)
CIE-LCHlch(36.85, 71.21, 322.29°)
OKLaboklab(48.04% 0.1463 -0.122)
OKLCHoklch(48.04% 0.19 320.2)
XYZxyz(17.4450, 9.4587, 33.2479)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A299E #3D9E29
analogous
#50299E #8A299E #9E2978
triadic
#8A299E #9E8A29 #299E8A
tetradic
#8A299E #9E5029 #3D9E29 #29789E
square
#8A299E #9E5029 #3D9E29 #29789E
split-complementary
#8A299E #789E29 #299E50
monochromatic
#35103D #601C6D #8A299E #B239CC #C569D8

Accessibility & contrast

On white

7.26
#8A299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A299E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A299E#FFFFFF#000000##FFFFFF
##8A299E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#345A9B
Tritanopia (blue-blind)
#8B4061
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a299e;
/* rgb */ color: rgb(138, 41, 158);
/* oklch */ color: oklch(48.0% 0.190 320.2);
Tailwind
colors: {
  custom: {
    50: '#b06dbb',
    500: '#8a299e',
    950: '#000000',
  },
}
SCSS
$custom: #8a299e;
$custom-light: #b06dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a299e",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 289.744,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48042,
    "c": 0.19049,
    "h": 320.2
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#8A299E
secondary
#74BF64
accent
#E24661
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A299E

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

Preview Lab → · Contrast checker → · Palette generator →

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