#8A438D#8A438D

#8A438D is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.1% C 0.137 H 325.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A438D
RGBrgb(138, 67, 141)
HSLhsl(298, 36%, 41%)
HSVhsv(298, 52%, 55%)
CMYKcmyk(2.1%, 52.5%, 0%, 44.7%)
CIE-LABlab(40.15, 41.31, -28.02)
CIE-LCHlch(40.15, 49.92, 325.86°)
OKLaboklab(50.12% 0.1137 -0.0771)
OKLCHoklch(50.12% 0.137 325.8)
XYZxyz(17.2957, 11.3416, 26.4723)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A438D #468D43
analogous
#65438D #8A438D #8D436B
triadic
#8A438D #8D8A43 #438D8A
tetradic
#8A438D #8D6543 #468D43 #436B8D
square
#8A438D #8D6543 #468D43 #436B8D
split-complementary
#8A438D #6B8D43 #438D65
monochromatic
#391C3A #612F64 #8A438D #AE5CB1 #C385C5

Accessibility & contrast

On white

6.43
#8A438D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A438D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A438D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A438D#FFFFFF#000000##FFFFFF
##8A438D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#50628B
Tritanopia (blue-blind)
#8D4C62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a438d;
/* rgb */ color: rgb(138, 67, 141);
/* oklch */ color: oklch(50.1% 0.137 325.8);
Tailwind
colors: {
  custom: {
    50: '#ae7aae',
    500: '#8a438d',
    950: '#000000',
  },
}
SCSS
$custom: #8a438d;
$custom-light: #ae7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a438d",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 297.568,
    "s": 35.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50123,
    "c": 0.13735,
    "h": 325.8
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

primary
#8A438D
secondary
#7EB07C
accent
#CC5C61
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A438D

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

Preview Lab → · Contrast checker → · Palette generator →

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