#8A289F#8A289F

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

Color values

HEX#8A289F
RGBrgb(138, 40, 159)
HSLhsl(289, 60%, 39%)
HSVhsv(289, 75%, 62%)
CMYKcmyk(13.2%, 74.8%, 0%, 37.6%)
CIE-LABlab(36.79, 56.89, -44.26)
CIE-LCHlch(36.79, 72.08, 322.12°)
OKLaboklab(48.02% 0.1471 -0.1241)
OKLCHoklch(48.02% 0.192 319.8)
XYZxyz(17.4972, 9.4249, 33.6917)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A289F #3D9F28
analogous
#4F289F #8A289F #9F2879
triadic
#8A289F #9F8A28 #289F8A
tetradic
#8A289F #9F4F28 #3D9F28 #28799F
square
#8A289F #9F4F28 #3D9F28 #28799F
split-complementary
#8A289F #799F28 #289F4F
monochromatic
#350F3D #601C6E #8A289F #B237CD #C568D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A289F#FFFFFF#000000##FFFFFF
##8A289F1.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)
#0050A2
Deuteranopia (green-blind)
#335A9C
Tritanopia (blue-blind)
#8A4062
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a289f;
/* rgb */ color: rgb(138, 40, 159);
/* oklch */ color: oklch(48.0% 0.192 319.8);
Tailwind
colors: {
  custom: {
    50: '#b06cbc',
    500: '#8a289f',
    950: '#000000',
  },
}
SCSS
$custom: #8a289f;
$custom-light: #b06cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a289f",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 289.412,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.19248,
    "h": 319.8
  },
  "luminance": 0.09424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A289F

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

Preview Lab → · Contrast checker → · Palette generator →

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