#8B64BB#8B64BB

#8B64BB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.0% C 0.134 H 303.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8B64BB
RGBrgb(139, 100, 187)
HSLhsl(267, 39%, 56%)
HSVhsv(267, 47%, 73%)
CMYKcmyk(25.7%, 46.5%, 0%, 26.7%)
CIE-LABlab(49.73, 33.48, -40.19)
CIE-LCHlch(49.73, 52.31, 309.79°)
OKLaboklab(58.03% 0.0735 -0.1125)
OKLCHoklch(58.03% 0.134 303.2)
XYZxyz(24.1723, 18.1912, 49.2419)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B64BB #94BB64
analogous
#6469BB #8B64BB #B764BB
triadic
#8B64BB #BB8B64 #64BB8B
tetradic
#8B64BB #BB6469 #94BB64 #64BBB7
square
#8B64BB #BB6469 #94BB64 #64BBB7
split-complementary
#8B64BB #BBB764 #69BB64
monochromatic
#4F3272 #6C459D #8B64BB #AB8FCE #CBB9E0

Accessibility & contrast

On white

4.53
#8B64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8B64BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B64BB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B64BB#FFFFFF#000000##000000
##8B64BB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BE
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#837387
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b64bb;
/* rgb */ color: rgb(139, 100, 187);
/* oklch */ color: oklch(58.0% 0.134 303.2);
Tailwind
colors: {
  custom: {
    50: '#af91d0',
    500: '#8b64bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b64bb;
$custom-light: #af91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b64bb",
  "rgb": {
    "r": 139,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 266.897,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.13441,
    "h": 303.2
  },
  "luminance": 0.18191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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