#8A4293#8A4293

#8A4293 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.3% C 0.145 H 323.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8A4293
RGBrgb(138, 66, 147)
HSLhsl(293, 38%, 42%)
HSVhsv(293, 55%, 58%)
CMYKcmyk(6.1%, 55.1%, 0%, 42.4%)
CIE-LABlab(40.26, 43.01, -31.49)
CIE-LCHlch(40.26, 53.31, 323.79°)
OKLaboklab(50.3% 0.1159 -0.0871)
OKLCHoklch(50.3% 0.145 323.1)
XYZxyz(17.6954, 11.4071, 28.8678)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4293 #4B9342
analogous
#624293 #8A4293 #934274
triadic
#8A4293 #938A42 #42938A
tetradic
#8A4293 #936242 #4B9342 #427493
square
#8A4293 #936242 #4B9342 #427493
split-complementary
#8A4293 #749342 #429362
monochromatic
#3B1C3F #622F69 #8A4293 #AC5CB6 #C287C9

Accessibility & contrast

On white

6.40
#8A4293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A4293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4293
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4293#FFFFFF#000000##FFFFFF
##8A42931.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365996
Deuteranopia (green-blind)
#4D6291
Tritanopia (blue-blind)
#8C4D64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4293;
/* rgb */ color: rgb(138, 66, 147);
/* oklch */ color: oklch(50.3% 0.145 323.1);
Tailwind
colors: {
  custom: {
    50: '#ae7ab3',
    500: '#8a4293',
    950: '#000000',
  },
}
SCSS
$custom: #8a4293;
$custom-light: #ae7ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4293",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 293.333,
    "s": 38.028,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50301,
    "c": 0.14497,
    "h": 323.1
  },
  "luminance": 0.11406
}

Semantic roles & 50–950 ramp

primary
#8A4293
secondary
#83B47D
accent
#CE5A67
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4293

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

Preview Lab → · Contrast checker → · Palette generator →

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