#8A289E#8A289E

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

Color values

HEX#8A289E
RGBrgb(138, 40, 158)
HSLhsl(290, 60%, 39%)
HSVhsv(290, 75%, 62%)
CMYKcmyk(12.7%, 74.7%, 0%, 38%)
CIE-LABlab(36.73, 56.70, -43.76)
CIE-LCHlch(36.73, 71.62, 322.34°)
OKLaboklab(47.95% 0.1472 -0.1226)
OKLCHoklch(47.95% 0.192 320.2)
XYZxyz(17.4108, 9.3904, 33.2366)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A289E #3C9E28
analogous
#4F289E #8A289E #9E2877
triadic
#8A289E #9E8A28 #289E8A
tetradic
#8A289E #9E4F28 #3C9E28 #28779E
square
#8A289E #9E4F28 #3C9E28 #28779E
split-complementary
#8A289E #779E28 #289E4F
monochromatic
#350F3C #5F1C6D #8A289E #B337CC #C668D9

Accessibility & contrast

On white

7.30
#8A289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A289E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A289E#FFFFFF#000000##FFFFFF
##8A289E1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#335A9B
Tritanopia (blue-blind)
#8B3F61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a289e;
/* rgb */ color: rgb(138, 40, 158);
/* oklch */ color: oklch(48.0% 0.192 320.2);
Tailwind
colors: {
  custom: {
    50: '#b06cbb',
    500: '#8a289e',
    950: '#000000',
  },
}
SCSS
$custom: #8a289e;
$custom-light: #b06cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a289e",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 289.831,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47951,
    "c": 0.1916,
    "h": 320.2
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#8A289E
secondary
#73BF63
accent
#E34560
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A289E

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

Preview Lab → · Contrast checker → · Palette generator →

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