#8A248F#8A248F

#8A248F is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.183 H 326.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8A248F
RGBrgb(138, 36, 143)
HSLhsl(297, 60%, 35%)
HSVhsv(297, 75%, 56%)
CMYKcmyk(3.5%, 74.8%, 0%, 43.9%)
CIE-LABlab(35.30, 55.36, -36.90)
CIE-LCHlch(35.30, 66.53, 326.31°)
OKLaboklab(46.64% 0.1519 -0.1026)
OKLCHoklch(46.64% 0.183 326)
XYZxyz(16.0697, 8.6493, 26.8044)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A248F #298F24
analogous
#54248F #8A248F #8F245F
triadic
#8A248F #8F8A24 #248F8A
tetradic
#8A248F #8F5424 #298F24 #245F8F
square
#8A248F #8F5424 #298F24 #245F8F
split-complementary
#8A248F #5F8F24 #248F54
monochromatic
#2C0B2D #5B185E #8A248F #B930C0 #CF58D5

Accessibility & contrast

On white

7.69
#8A248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A248F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A248F#FFFFFF#000000##FFFFFF
##8A248F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034B92
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#8E3658
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a248f;
/* rgb */ color: rgb(138, 36, 143);
/* oklch */ color: oklch(46.6% 0.183 326.0);
Tailwind
colors: {
  custom: {
    50: '#b06ab0',
    500: '#8a248f',
    950: '#000000',
  },
}
SCSS
$custom: #8a248f;
$custom-light: #b06ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a248f",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 297.196,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46636,
    "c": 0.18332,
    "h": 326
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#8A248F
secondary
#5AB955
accent
#E3454C
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A248F

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

Preview Lab → · Contrast checker → · Palette generator →

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