#8A298A#8A298A

#8A298A is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.173 H 327.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8A298A
RGBrgb(138, 41, 138)
HSLhsl(300, 54%, 35%)
HSVhsv(300, 70%, 54%)
CMYKcmyk(0%, 70.3%, 0%, 45.9%)
CIE-LABlab(35.65, 52.67, -33.27)
CIE-LCHlch(35.65, 62.30, 327.72°)
OKLaboklab(46.79% 0.1469 -0.0921)
OKLCHoklch(46.79% 0.173 327.9)
XYZxyz(15.8614, 8.8252, 24.9078)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A298A #298A29
analogous
#59298A #8A298A #8A2959
triadic
#8A298A #8A8A29 #298A8A
tetradic
#8A298A #8A5929 #298A29 #29598A
square
#8A298A #8A5929 #298A29 #29598A
split-complementary
#8A298A #598A29 #298A59
monochromatic
#2C0D2C #5B1B5B #8A298A #B937B9 #CF5ECF

Accessibility & contrast

On white

7.60
#8A298A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A298A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A298A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A298A#FFFFFF#000000##FFFFFF
##8A298A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8D
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#8E3756
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a298a;
/* rgb */ color: rgb(138, 41, 138);
/* oklch */ color: oklch(46.8% 0.173 327.9);
Tailwind
colors: {
  custom: {
    50: '#af6cac',
    500: '#8a298a',
    950: '#000000',
  },
}
SCSS
$custom: #8a298a;
$custom-light: #af6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a298a",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4679,
    "c": 0.17335,
    "h": 327.9
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#8A298A
secondary
#5AB55A
accent
#DE4A4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A298A

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

Preview Lab → · Contrast checker → · Palette generator →

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