#8A438E#8A438E

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

Color values

HEX#8A438E
RGBrgb(138, 67, 142)
HSLhsl(297, 36%, 41%)
HSVhsv(297, 53%, 56%)
CMYKcmyk(2.8%, 52.8%, 0%, 44.3%)
CIE-LABlab(40.20, 41.51, -28.55)
CIE-LCHlch(40.20, 50.38, 325.48°)
OKLaboklab(50.18% 0.1138 -0.0786)
OKLCHoklch(50.18% 0.138 325.4)
XYZxyz(17.3705, 11.3715, 26.8659)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A438E #478E43
analogous
#64438E #8A438E #8E436C
triadic
#8A438E #8E8A43 #438E8A
tetradic
#8A438E #8E6443 #478E43 #436C8E
square
#8A438E #8E6443 #478E43 #436C8E
split-complementary
#8A438E #6C8E43 #438E64
monochromatic
#391C3B #622F64 #8A438E #AE5CB2 #C286C6

Accessibility & contrast

On white

6.41
#8A438E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A438E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A438E#FFFFFF#000000##FFFFFF
##8A438E1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a438e;
/* rgb */ color: rgb(138, 67, 142);
/* oklch */ color: oklch(50.2% 0.138 325.4);
Tailwind
colors: {
  custom: {
    50: '#ae7aaf',
    500: '#8a438e',
    950: '#000000',
  },
}
SCSS
$custom: #8a438e;
$custom-light: #ae7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a438e",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 296.8,
    "s": 35.885,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.13834,
    "h": 325.4
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#8A438E
secondary
#7FB17C
accent
#CC5C62
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A438E

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

Preview Lab → · Contrast checker → · Palette generator →

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