#8A4295#8A4295

#8A4295 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.4% C 0.147 H 322.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8A4295
RGBrgb(138, 66, 149)
HSLhsl(292, 39%, 42%)
HSVhsv(292, 56%, 58%)
CMYKcmyk(7.4%, 55.7%, 0%, 41.6%)
CIE-LABlab(40.36, 43.41, -32.53)
CIE-LCHlch(40.36, 54.25, 323.15°)
OKLaboklab(50.41% 0.1161 -0.0901)
OKLCHoklch(50.41% 0.147 322.2)
XYZxyz(17.8537, 11.4705, 29.7015)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4295 #4D9542
analogous
#604295 #8A4295 #954277
triadic
#8A4295 #958A42 #42958A
tetradic
#8A4295 #956042 #4D9542 #427795
square
#8A4295 #956042 #4D9542 #427795
split-complementary
#8A4295 #779542 #429560
monochromatic
#3B1C40 #632F6B #8A4295 #AB5DB7 #C187CA

Accessibility & contrast

On white

6.38
#8A4295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8A4295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4295
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4295#FFFFFF#000000##FFFFFF
##8A42951.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345A98
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#8C4D65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4295;
/* rgb */ color: rgb(138, 66, 149);
/* oklch */ color: oklch(50.4% 0.147 322.2);
Tailwind
colors: {
  custom: {
    50: '#ae7ab4',
    500: '#8a4295',
    950: '#000000',
  },
}
SCSS
$custom: #8a4295;
$custom-light: #ae7ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4295",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 292.048,
    "s": 38.605,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50411,
    "c": 0.14698,
    "h": 322.2
  },
  "luminance": 0.1147
}

Semantic roles & 50–950 ramp

primary
#8A4295
secondary
#85B57E
accent
#CF5969
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4295

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

Preview Lab → · Contrast checker → · Palette generator →

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