#8D64B0#8D64B0

#8D64B0 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.6% C 0.121 H 307.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8D64B0
RGBrgb(141, 100, 176)
HSLhsl(272, 32%, 54%)
HSVhsv(272, 43%, 69%)
CMYKcmyk(19.9%, 43.2%, 0%, 31%)
CIE-LABlab(49.39, 31.42, -34.33)
CIE-LCHlch(49.39, 46.53, 312.47°)
OKLaboklab(57.65% 0.0743 -0.0955)
OKLCHoklch(57.65% 0.121 307.9)
XYZxyz(23.3766, 17.9119, 43.2917)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64B0 #87B064
analogous
#6764B0 #8D64B0 #B064AD
triadic
#8D64B0 #B08D64 #64B08D
tetradic
#8D64B0 #B06764 #87B064 #64ADB0
square
#8D64B0 #B06764 #87B064 #64ADB0
split-complementary
#8D64B0 #ADB064 #64B067
monochromatic
#4F3466 #6E498E #8D64B0 #AB8DC5 #C9B5D9

Accessibility & contrast

On white

4.58
#8D64B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8D64B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64B0
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64B0#FFFFFF#000000##000000
##8D64B01.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5374B3
Deuteranopia (green-blind)
#5D76AE
Tritanopia (blue-blind)
#887081
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d64b0;
/* rgb */ color: rgb(141, 100, 176);
/* oklch */ color: oklch(57.6% 0.121 307.9);
Tailwind
colors: {
  custom: {
    50: '#b091c8',
    500: '#8d64b0',
    950: '#000000',
  },
}
SCSS
$custom: #8d64b0;
$custom-light: #b091c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64b0",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 176
  },
  "hsl": {
    "h": 272.368,
    "s": 32.479,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57645,
    "c": 0.12094,
    "h": 307.9
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#8D64B0
secondary
#B7C8A8
accent
#C95F90
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#110D13
muted
#807D82

Preview Lab

Preview with #8D64B0

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

Preview Lab → · Contrast checker → · Palette generator →

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