#8A419B#8A419B

#8A419B is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.6% C 0.155 H 319.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A419B
RGBrgb(138, 65, 155)
HSLhsl(289, 41%, 43%)
HSVhsv(289, 58%, 61%)
CMYKcmyk(11%, 58.1%, 0%, 39.2%)
CIE-LABlab(40.49, 45.14, -35.94)
CIE-LCHlch(40.49, 57.70, 321.47°)
OKLaboklab(50.61% 0.118 -0.1)
OKLCHoklch(50.61% 0.155 319.7)
XYZxyz(18.2872, 11.5512, 32.2703)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A419B #529B41
analogous
#5D419B #8A419B #9B417F
triadic
#8A419B #9B8A41 #419B8A
tetradic
#8A419B #9B5D41 #529B41 #417F9B
square
#8A419B #9B5D41 #529B41 #417F9B
split-complementary
#8A419B #7F9B41 #419B5D
monochromatic
#3D1D45 #642F70 #8A419B #AA5EBB #C189CD

Accessibility & contrast

On white

6.34
#8A419B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8A419B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A419B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A419B#FFFFFF#000000##FFFFFF
##8A419B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9E
Deuteranopia (green-blind)
#486299
Tritanopia (blue-blind)
#8B4F68
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a419b;
/* rgb */ color: rgb(138, 65, 155);
/* oklch */ color: oklch(50.6% 0.155 319.7);
Tailwind
colors: {
  custom: {
    50: '#ae79b9',
    500: '#8a419b',
    950: '#000000',
  },
}
SCSS
$custom: #8a419b;
$custom-light: #ae79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a419b",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 288.667,
    "s": 40.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.15469,
    "h": 319.7
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#8A419B
secondary
#8AB880
accent
#D1576E
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A419B

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

Preview Lab → · Contrast checker → · Palette generator →

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