#8A2E9F#8A2E9F

#8A2E9F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.185 H 319.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A2E9F
RGBrgb(138, 46, 159)
HSLhsl(289, 55%, 40%)
HSVhsv(289, 71%, 62%)
CMYKcmyk(13.2%, 71.1%, 0%, 37.6%)
CIE-LABlab(37.59, 54.61, -42.97)
CIE-LCHlch(37.59, 69.49, 321.80°)
OKLaboklab(48.59% 0.1411 -0.1204)
OKLCHoklch(48.59% 0.185 319.5)
XYZxyz(17.7154, 9.8613, 33.7644)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E9F #439F2E
analogous
#522E9F #8A2E9F #9F2E7B
triadic
#8A2E9F #9F8A2E #2E9F8A
tetradic
#8A2E9F #9F522E #439F2E #2E7B9F
square
#8A2E9F #9F522E #439F2E #2E7B9F
split-complementary
#8A2E9F #7B9F2E #2E9F52
monochromatic
#381340 #612070 #8A2E9F #AF42C8 #C371D6

Accessibility & contrast

On white

7.07
#8A2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E9F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E9F#FFFFFF#000000##FFFFFF
##8A2E9F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#375C9C
Tritanopia (blue-blind)
#8A4363
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a2e9f;
/* rgb */ color: rgb(138, 46, 159);
/* oklch */ color: oklch(48.6% 0.185 319.5);
Tailwind
colors: {
  custom: {
    50: '#b06fbc',
    500: '#8a2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e9f;
$custom-light: #b06fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e9f",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 288.85,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4859,
    "c": 0.18547,
    "h": 319.5
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#8A2E9F
secondary
#7BBE6B
accent
#DE4965
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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