#8A438A#8A438A

#8A438A is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.0% C 0.134 H 327.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A438A
RGBrgb(138, 67, 138)
HSLhsl(300, 35%, 40%)
HSVhsv(300, 51%, 54%)
CMYKcmyk(0%, 51.4%, 0%, 45.9%)
CIE-LABlab(40.00, 40.73, -26.42)
CIE-LCHlch(40.00, 48.55, 327.03°)
OKLaboklab(49.97% 0.1132 -0.0725)
OKLCHoklch(49.97% 0.134 327.4)
XYZxyz(17.0755, 11.2535, 25.3126)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A438A #438A43
analogous
#66438A #8A438A #8A4366
triadic
#8A438A #8A8A43 #438A8A
tetradic
#8A438A #8A6643 #438A43 #43668A
square
#8A438A #8A6643 #438A43 #43668A
split-complementary
#8A438A #668A43 #438A66
monochromatic
#381B38 #612F61 #8A438A #AF5BAF #C384C3

Accessibility & contrast

On white

6.46
#8A438A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A438A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A438A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A438A#FFFFFF#000000##FFFFFF
##8A438A1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#526288
Tritanopia (blue-blind)
#8E4B60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a438a;
/* rgb */ color: rgb(138, 67, 138);
/* oklch */ color: oklch(50.0% 0.134 327.4);
Tailwind
colors: {
  custom: {
    50: '#ae7aac',
    500: '#8a438a',
    950: '#000000',
  },
}
SCSS
$custom: #8a438a;
$custom-light: #ae7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a438a",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 34.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49968,
    "c": 0.13443,
    "h": 327.4
  },
  "luminance": 0.11253
}

Semantic roles & 50–950 ramp

primary
#8A438A
secondary
#7BAE7B
accent
#CB5D5D
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A438A

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

Preview Lab → · Contrast checker → · Palette generator →

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