#8A249F#8A249F

#8A249F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.197 H 320.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8A249F
RGBrgb(138, 36, 159)
HSLhsl(290, 63%, 38%)
HSVhsv(290, 77%, 62%)
CMYKcmyk(13.2%, 77.4%, 0%, 37.6%)
CIE-LABlab(36.31, 58.27, -45.03)
CIE-LCHlch(36.31, 73.65, 322.30°)
OKLaboklab(47.68% 0.1508 -0.1263)
OKLCHoklch(47.68% 0.197 320)
XYZxyz(17.3693, 9.1691, 33.6491)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A249F #399F24
analogous
#4C249F #8A249F #9F2476
triadic
#8A249F #9F8A24 #249F8A
tetradic
#8A249F #9F4C24 #399F24 #24769F
square
#8A249F #9F4C24 #399F24 #24769F
split-complementary
#8A249F #769F24 #249F4C
monochromatic
#330D3B #5F196D #8A249F #B530D0 #C762DB

Accessibility & contrast

On white

7.41
#8A249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A249F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A249F#FFFFFF#000000##FFFFFF
##8A249F1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#30599C
Tritanopia (blue-blind)
#8A3E61
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a249f;
/* rgb */ color: rgb(138, 36, 159);
/* oklch */ color: oklch(47.7% 0.197 320.0);
Tailwind
colors: {
  custom: {
    50: '#b06bbc',
    500: '#8a249f',
    950: '#000000',
  },
}
SCSS
$custom: #8a249f;
$custom-light: #b06bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a249f",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 289.756,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47675,
    "c": 0.19672,
    "h": 320
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#8A249F
secondary
#6FC15E
accent
#E6425E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A249F

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

Preview Lab → · Contrast checker → · Palette generator →

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