#8B64BA#8B64BA

#8B64BA is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.0% C 0.133 H 303.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8B64BA
RGBrgb(139, 100, 186)
HSLhsl(267, 38%, 56%)
HSVhsv(267, 46%, 73%)
CMYKcmyk(25.3%, 46.2%, 0%, 27.1%)
CIE-LABlab(49.68, 33.23, -39.70)
CIE-LCHlch(49.68, 51.77, 309.93°)
OKLaboklab(57.97% 0.0734 -0.1111)
OKLCHoklch(57.97% 0.133 303.4)
XYZxyz(24.0656, 18.1485, 48.6800)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B64BA #93BA64
analogous
#6468BA #8B64BA #B664BA
triadic
#8B64BA #BA8B64 #64BA8B
tetradic
#8B64BA #BA6468 #93BA64 #64BAB6
square
#8B64BA #BA6468 #93BA64 #64BAB6
split-complementary
#8B64BA #BAB664 #68BA64
monochromatic
#4F3271 #6C459C #8B64BA #AB8ECD #CAB9E0

Accessibility & contrast

On white

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

On black

4.63
#8B64BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B64BA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B64BA#FFFFFF#000000##000000
##8B64BA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#837386
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b64ba;
/* rgb */ color: rgb(139, 100, 186);
/* oklch */ color: oklch(58.0% 0.133 303.4);
Tailwind
colors: {
  custom: {
    50: '#af91cf',
    500: '#8b64ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b64ba;
$custom-light: #af91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b64ba",
  "rgb": {
    "r": 139,
    "g": 100,
    "b": 186
  },
  "hsl": {
    "h": 267.209,
    "s": 38.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.13312,
    "h": 303.4
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#8B64BA
secondary
#BFCFAB
accent
#CE5999
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110D14
muted
#807D82

Preview Lab

Preview with #8B64BA

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

Preview Lab → · Contrast checker → · Palette generator →

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