#8A249E#8A249E

#8A249E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.196 H 320.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8A249E
RGBrgb(138, 36, 158)
HSLhsl(290, 63%, 38%)
HSVhsv(290, 77%, 62%)
CMYKcmyk(12.7%, 77.2%, 0%, 38%)
CIE-LABlab(36.24, 58.09, -44.53)
CIE-LCHlch(36.24, 73.19, 322.52°)
OKLaboklab(47.61% 0.1509 -0.1249)
OKLCHoklch(47.61% 0.196 320.4)
XYZxyz(17.2829, 9.1346, 33.1939)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A249E #389E24
analogous
#4D249E #8A249E #9E2475
triadic
#8A249E #9E8A24 #249E8A
tetradic
#8A249E #9E4D24 #389E24 #24759E
square
#8A249E #9E4D24 #389E24 #24759E
split-complementary
#8A249E #759E24 #249E4D
monochromatic
#330D3A #5E196C #8A249E #B52FD0 #C761DB

Accessibility & contrast

On white

7.43
#8A249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A249E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A249E#FFFFFF#000000##FFFFFF
##8A249E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#31599B
Tritanopia (blue-blind)
#8B3D60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a249e;
/* rgb */ color: rgb(138, 36, 158);
/* oklch */ color: oklch(47.6% 0.196 320.4);
Tailwind
colors: {
  custom: {
    50: '#b06bbb',
    500: '#8a249e',
    950: '#000000',
  },
}
SCSS
$custom: #8a249e;
$custom-light: #b06bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a249e",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 290.164,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47608,
    "c": 0.19587,
    "h": 320.4
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#8A249E
secondary
#6EC05E
accent
#E6425D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A249E

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

Preview Lab → · Contrast checker → · Palette generator →

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