#8D64A5#8D64A5

#8D64A5 is a mid, moderate violet. Relative luminance 0.175; OKLCH L 57.1% C 0.107 H 312.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D64A5
RGBrgb(141, 100, 165)
HSLhsl(278, 27%, 52%)
HSVhsv(278, 39%, 65%)
CMYKcmyk(14.5%, 39.4%, 0%, 35.3%)
CIE-LABlab(48.88, 28.89, -28.70)
CIE-LCHlch(48.88, 40.72, 315.19°)
OKLaboklab(57.09% 0.0721 -0.0792)
OKLCHoklch(57.09% 0.107 312.3)
XYZxyz(22.3321, 17.4941, 37.7903)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64A5 #7CA564
analogous
#6D64A5 #8D64A5 #A5649D
triadic
#8D64A5 #A58D64 #64A58D
tetradic
#8D64A5 #A56D64 #7CA564 #649DA5
square
#8D64A5 #A56D64 #7CA564 #649DA5
split-complementary
#8D64A5 #9DA564 #64A56D
monochromatic
#4C345A #6D4B81 #8D64A5 #A98BBB #C6B1D2

Accessibility & contrast

On white

4.67
#8D64A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8D64A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D64A5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64A5#FFFFFF#000000##FFFFFF
##8D64A51.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5872A7
Deuteranopia (green-blind)
#6275A3
Tritanopia (blue-blind)
#8B6D7D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d64a5;
/* rgb */ color: rgb(141, 100, 165);
/* oklch */ color: oklch(57.1% 0.107 312.3);
Tailwind
colors: {
  custom: {
    50: '#af91c0',
    500: '#8d64a5',
    950: '#000000',
  },
}
SCSS
$custom: #8d64a5;
$custom-light: #af91c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64a5",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 165
  },
  "hsl": {
    "h": 277.846,
    "s": 26.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.10709,
    "h": 312.3
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#8D64A5
secondary
#AFC1A4
accent
#C36588
background
#FAF8FB
surface
#F5F0F7
border
#CFCBD0
text
#100D12
muted
#7F7D81

Preview Lab

Preview with #8D64A5

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

Preview Lab → · Contrast checker → · Palette generator →

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