#8A468F#8A468F

#8A468F is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.7% C 0.134 H 324.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8A468F
RGBrgb(138, 70, 143)
HSLhsl(296, 34%, 42%)
HSVhsv(296, 51%, 56%)
CMYKcmyk(3.5%, 51%, 0%, 43.9%)
CIE-LABlab(40.84, 40.13, -28.14)
CIE-LCHlch(40.84, 49.01, 324.95°)
OKLaboklab(50.67% 0.1096 -0.0775)
OKLCHoklch(50.67% 0.134 324.7)
XYZxyz(17.6289, 11.7676, 27.3241)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A468F #4B8F46
analogous
#66468F #8A468F #8F4670
triadic
#8A468F #8F8A46 #468F8A
tetradic
#8A468F #8F6646 #4B8F46 #46708F
square
#8A468F #8F6646 #4B8F46 #46708F
split-complementary
#8A468F #708F46 #468F66
monochromatic
#3B1E3D #623266 #8A468F #AC61B2 #C28AC6

Accessibility & contrast

On white

6.26
#8A468F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8A468F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A468F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A468F#FFFFFF#000000##FFFFFF
##8A468F1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B91
Deuteranopia (green-blind)
#52638D
Tritanopia (blue-blind)
#8D4F64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a468f;
/* rgb */ color: rgb(138, 70, 143);
/* oklch */ color: oklch(50.7% 0.134 324.7);
Tailwind
colors: {
  custom: {
    50: '#ae7cb0',
    500: '#8a468f',
    950: '#000000',
  },
}
SCSS
$custom: #8a468f;
$custom-light: #ae7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a468f",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 143
  },
  "hsl": {
    "h": 295.89,
    "s": 34.272,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.13422,
    "h": 324.7
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#8A468F
secondary
#83B180
accent
#CA5D65
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A468F

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

Preview Lab → · Contrast checker → · Palette generator →

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