#8D64B4#8D64B4

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

Color values

HEX#8D64B4
RGBrgb(141, 100, 180)
HSLhsl(271, 35%, 55%)
HSVhsv(271, 44%, 71%)
CMYKcmyk(21.7%, 44.4%, 0%, 29.4%)
CIE-LABlab(49.58, 32.36, -36.35)
CIE-LCHlch(49.58, 48.67, 311.68°)
OKLaboklab(57.86% 0.0749 -0.1013)
OKLCHoklch(57.86% 0.126 306.5)
XYZxyz(23.7782, 18.0725, 45.4069)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64B4 #8BB464
analogous
#6564B4 #8D64B4 #B464B3
triadic
#8D64B4 #B48D64 #64B48D
tetradic
#8D64B4 #B46564 #8BB464 #64B3B4
square
#8D64B4 #B46564 #8BB464 #64B3B4
split-complementary
#8D64B4 #B3B464 #64B465
monochromatic
#4F336A #6E4793 #8D64B4 #AB8DC8 #CAB6DC

Accessibility & contrast

On white

4.55
#8D64B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8D64B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64B4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64B4#FFFFFF#000000##000000
##8D64B41.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5074B7
Deuteranopia (green-blind)
#5B76B2
Tritanopia (blue-blind)
#877183
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d64b4;
/* rgb */ color: rgb(141, 100, 180);
/* oklch */ color: oklch(57.9% 0.126 306.5);
Tailwind
colors: {
  custom: {
    50: '#b091cb',
    500: '#8d64b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d64b4;
$custom-light: #b091cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64b4",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 180
  },
  "hsl": {
    "h": 270.75,
    "s": 34.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.12601,
    "h": 306.5
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#8D64B4
secondary
#B9CBA9
accent
#CB5D93
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110D13
muted
#807D82

Preview Lab

Preview with #8D64B4

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

Preview Lab → · Contrast checker → · Palette generator →

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