#8A4286#8A4286

#8A4286 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.6% C 0.132 H 329.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8A4286
RGBrgb(138, 66, 134)
HSLhsl(303, 35%, 40%)
HSVhsv(303, 52%, 54%)
CMYKcmyk(0%, 52.2%, 2.9%, 45.9%)
CIE-LABlab(39.62, 40.50, -24.58)
CIE-LCHlch(39.62, 47.37, 328.75°)
OKLaboklab(49.62% 0.114 -0.0672)
OKLCHoklch(49.62% 0.132 329.5)
XYZxyz(16.7323, 11.0219, 23.7958)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4286 #428A46
analogous
#6A428A #8A4286 #8A4262
triadic
#8A4286 #868A42 #42868A
tetradic
#8A4286 #8A6A42 #428A46 #42628A
square
#8A4286 #8A6A42 #428A46 #42628A
split-complementary
#8A4286 #628A42 #428A6A
monochromatic
#371A36 #612E5E #8A4286 #B059AB #C483C0

Accessibility & contrast

On white

6.55
#8A4286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8A4286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4286
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4286#FFFFFF#000000##FFFFFF
##8A42861.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5788
Deuteranopia (green-blind)
#536184
Tritanopia (blue-blind)
#8E495E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a4286;
/* rgb */ color: rgb(138, 66, 134);
/* oklch */ color: oklch(49.6% 0.132 329.5);
Tailwind
colors: {
  custom: {
    50: '#ae7aa9',
    500: '#8a4286',
    950: '#000000',
  },
}
SCSS
$custom: #8a4286;
$custom-light: #ae7aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4286",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 303.333,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.13234,
    "h": 329.5
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#8A4286
secondary
#79AE7C
accent
#CB635C
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A4286

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

Preview Lab → · Contrast checker → · Palette generator →

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