#8D64B5#8D64B5

#8D64B5 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.9% C 0.127 H 306.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8D64B5
RGBrgb(141, 100, 181)
HSLhsl(270, 35%, 55%)
HSVhsv(270, 45%, 71%)
CMYKcmyk(22.1%, 44.8%, 0%, 29%)
CIE-LABlab(49.63, 32.60, -36.85)
CIE-LCHlch(49.63, 49.20, 311.50°)
OKLaboklab(57.91% 0.0751 -0.1028)
OKLCHoklch(57.91% 0.127 306.2)
XYZxyz(23.8805, 18.1134, 45.9453)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64B5 #8CB564
analogous
#6464B5 #8D64B5 #B564B5
triadic
#8D64B5 #B58D64 #64B58D
tetradic
#8D64B5 #B56464 #8CB564 #64B5B5
square
#8D64B5 #B56464 #8CB564 #64B5B5
split-complementary
#8D64B5 #B5B564 #64B564
monochromatic
#50336B #6E4795 #8D64B5 #AB8DC9 #CAB7DD

Accessibility & contrast

On white

4.54
#8D64B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8D64B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64B5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64B5#FFFFFF#000000##000000
##8D64B51.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5075B8
Deuteranopia (green-blind)
#5A76B3
Tritanopia (blue-blind)
#877184
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d64b5;
/* rgb */ color: rgb(141, 100, 181);
/* oklch */ color: oklch(57.9% 0.127 306.2);
Tailwind
colors: {
  custom: {
    50: '#b091cb',
    500: '#8d64b5',
    950: '#000000',
  },
}
SCSS
$custom: #8d64b5;
$custom-light: #b091cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64b5",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 270.37,
    "s": 35.371,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57908,
    "c": 0.12728,
    "h": 306.2
  },
  "luminance": 0.18113
}

Semantic roles & 50–950 ramp

primary
#8D64B5
secondary
#BACBA9
accent
#CB5C93
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110D13
muted
#807D82

Preview Lab

Preview with #8D64B5

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

Preview Lab → · Contrast checker → · Palette generator →

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