#8D64B3#8D64B3

#8D64B3 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.8% C 0.125 H 306.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D64B3
RGBrgb(141, 100, 179)
HSLhsl(271, 34%, 55%)
HSVhsv(271, 44%, 70%)
CMYKcmyk(21.2%, 44.1%, 0%, 29.8%)
CIE-LABlab(49.53, 32.13, -35.84)
CIE-LCHlch(49.53, 48.13, 311.87°)
OKLaboklab(57.8% 0.0748 -0.0998)
OKLCHoklch(57.8% 0.125 306.8)
XYZxyz(23.6767, 18.0319, 44.8723)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64B3 #8AB364
analogous
#6664B3 #8D64B3 #B364B2
triadic
#8D64B3 #B38D64 #64B38D
tetradic
#8D64B3 #B36664 #8AB364 #64B2B3
square
#8D64B3 #B36664 #8AB364 #64B2B3
split-complementary
#8D64B3 #B2B364 #64B366
monochromatic
#4F3469 #6E4892 #8D64B3 #AB8DC7 #C9B6DB

Accessibility & contrast

On white

4.56
#8D64B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D64B3#FFFFFF#000000##000000
##8D64B31.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B6
Deuteranopia (green-blind)
#5B76B1
Tritanopia (blue-blind)
#877183
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d64b3;
/* rgb */ color: rgb(141, 100, 179);
/* oklch */ color: oklch(57.8% 0.125 306.8);
Tailwind
colors: {
  custom: {
    50: '#b091ca',
    500: '#8d64b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d64b3;
$custom-light: #b091ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64b3",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 179
  },
  "hsl": {
    "h": 271.139,
    "s": 34.199,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.12474,
    "h": 306.8
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#8D64B3
secondary
#B9CAA9
accent
#CA5E92
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110D13
muted
#807D82

Preview Lab

Preview with #8D64B3

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

Preview Lab → · Contrast checker → · Palette generator →

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