#8A249B#8A249B

#8A249B is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.193 H 321.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8A249B
RGBrgb(138, 36, 155)
HSLhsl(291, 62%, 37%)
HSVhsv(291, 77%, 61%)
CMYKcmyk(11%, 76.8%, 0%, 39.2%)
CIE-LABlab(36.05, 57.53, -43.03)
CIE-LCHlch(36.05, 71.84, 323.20°)
OKLaboklab(47.41% 0.1512 -0.1205)
OKLCHoklch(47.41% 0.193 321.4)
XYZxyz(17.0278, 9.0325, 31.8505)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A249B #359B24
analogous
#4F249B #8A249B #9B2470
triadic
#8A249B #9B8A24 #249B8A
tetradic
#8A249B #9B4F24 #359B24 #24709B
square
#8A249B #9B4F24 #359B24 #24709B
split-complementary
#8A249B #709B24 #249B4F
monochromatic
#320D38 #5E1869 #8A249B #B630CD #C85FDA

Accessibility & contrast

On white

7.48
#8A249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8A249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A249B
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A249B#FFFFFF#000000##FFFFFF
##8A249B1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a249b;
/* rgb */ color: rgb(138, 36, 155);
/* oklch */ color: oklch(47.4% 0.193 321.4);
Tailwind
colors: {
  custom: {
    50: '#b06bb9',
    500: '#8a249b',
    950: '#000000',
  },
}
SCSS
$custom: #8a249b;
$custom-light: #b06bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a249b",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 291.429,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47407,
    "c": 0.19332,
    "h": 321.4
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#8A249B
secondary
#6ABF5C
accent
#E5425A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A249B

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

Preview Lab → · Contrast checker → · Palette generator →

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