#8A438C#8A438C

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

Color values

HEX#8A438C
RGBrgb(138, 67, 140)
HSLhsl(298, 35%, 41%)
HSVhsv(298, 52%, 55%)
CMYKcmyk(1.4%, 52.1%, 0%, 45.1%)
CIE-LABlab(40.10, 41.12, -27.48)
CIE-LCHlch(40.10, 49.46, 326.24°)
OKLaboklab(50.07% 0.1135 -0.0756)
OKLCHoklch(50.07% 0.136 326.3)
XYZxyz(17.2217, 11.3120, 26.0822)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A438C #458C43
analogous
#65438C #8A438C #8C4369
triadic
#8A438C #8C8A43 #438C8A
tetradic
#8A438C #8C6543 #458C43 #43698C
square
#8A438C #8C6543 #458C43 #43698C
split-complementary
#8A438C #698C43 #438C65
monochromatic
#381B39 #612F63 #8A438C #AE5BB1 #C385C5

Accessibility & contrast

On white

6.44
#8A438C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A438C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A438C
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A438C#FFFFFF#000000##FFFFFF
##8A438C1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598E
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#8D4B61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a438c;
/* rgb */ color: rgb(138, 67, 140);
/* oklch */ color: oklch(50.1% 0.136 326.3);
Tailwind
colors: {
  custom: {
    50: '#ae7aae',
    500: '#8a438c',
    950: '#000000',
  },
}
SCSS
$custom: #8a438c;
$custom-light: #ae7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a438c",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 298.356,
    "s": 35.266,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50071,
    "c": 0.13637,
    "h": 326.3
  },
  "luminance": 0.11311
}

Semantic roles & 50–950 ramp

primary
#8A438C
secondary
#7DAF7B
accent
#CB5C60
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A438C

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

Preview Lab → · Contrast checker → · Palette generator →

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