#8A259B#8A259B

#8A259B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.192 H 321.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8A259B
RGBrgb(138, 37, 155)
HSLhsl(291, 61%, 38%)
HSVhsv(291, 76%, 61%)
CMYKcmyk(11%, 76.1%, 0%, 39.2%)
CIE-LABlab(36.16, 57.19, -42.84)
CIE-LCHlch(36.16, 71.46, 323.16°)
OKLaboklab(47.49% 0.1503 -0.1199)
OKLCHoklch(47.49% 0.192 321.4)
XYZxyz(17.0585, 9.0939, 31.8608)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A259B #369B25
analogous
#4F259B #8A259B #9B2571
triadic
#8A259B #9B8A25 #259B8A
tetradic
#8A259B #9B4F25 #369B25 #25719B
square
#8A259B #9B4F25 #369B25 #25719B
split-complementary
#8A259B #719B25 #259B4F
monochromatic
#320D38 #5E196A #8A259B #B631CC #C861D9

Accessibility & contrast

On white

7.45
#8A259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8A259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A259B
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A259B#FFFFFF#000000##FFFFFF
##8A259B1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#345998
Tritanopia (blue-blind)
#8B3C5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a259b;
/* rgb */ color: rgb(138, 37, 155);
/* oklch */ color: oklch(47.5% 0.192 321.4);
Tailwind
colors: {
  custom: {
    50: '#b06bb9',
    500: '#8a259b',
    950: '#000000',
  },
}
SCSS
$custom: #8a259b;
$custom-light: #b06bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a259b",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 291.356,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.19228,
    "h": 321.4
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#8A259B
secondary
#6BBF5D
accent
#E5435A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A259B

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

Preview Lab → · Contrast checker → · Palette generator →

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