#8A438F#8A438F

#8A438F is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.2% C 0.139 H 324.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8A438F
RGBrgb(138, 67, 143)
HSLhsl(296, 36%, 41%)
HSVhsv(296, 53%, 56%)
CMYKcmyk(3.5%, 53.1%, 0%, 43.9%)
CIE-LABlab(40.25, 41.70, -29.08)
CIE-LCHlch(40.25, 50.84, 325.11°)
OKLaboklab(50.23% 0.114 -0.0802)
OKLCHoklch(50.23% 0.139 324.9)
XYZxyz(17.4459, 11.4017, 27.2631)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A438F #488F43
analogous
#64438F #8A438F #8F436E
triadic
#8A438F #8F8A43 #438F8A
tetradic
#8A438F #8F6443 #488F43 #436E8F
square
#8A438F #8F6443 #488F43 #436E8F
split-complementary
#8A438F #6E8F43 #438F64
monochromatic
#3A1C3C #622F65 #8A438F #AD5CB3 #C286C6

Accessibility & contrast

On white

6.40
#8A438F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A438F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A438F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A438F#FFFFFF#000000##FFFFFF
##8A438F1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#4F628D
Tritanopia (blue-blind)
#8D4C63
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a438f;
/* rgb */ color: rgb(138, 67, 143);
/* oklch */ color: oklch(50.2% 0.139 324.9);
Tailwind
colors: {
  custom: {
    50: '#ae7ab0',
    500: '#8a438f',
    950: '#000000',
  },
}
SCSS
$custom: #8a438f;
$custom-light: #ae7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a438f",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 296.053,
    "s": 36.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50228,
    "c": 0.13932,
    "h": 324.9
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#8A438F
secondary
#80B17D
accent
#CC5C63
background
#FAF7FA
surface
#F5EEF5
border
#CFC9CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A438F

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

Preview Lab → · Contrast checker → · Palette generator →

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