#8D64B7#8D64B7

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

Color values

HEX#8D64B7
RGBrgb(141, 100, 183)
HSLhsl(270, 37%, 55%)
HSVhsv(270, 45%, 72%)
CMYKcmyk(23%, 45.4%, 0%, 28.2%)
CIE-LABlab(49.73, 33.08, -37.85)
CIE-LCHlch(49.73, 50.27, 311.15°)
OKLaboklab(58.02% 0.0754 -0.1057)
OKLCHoklch(58.02% 0.13 305.5)
XYZxyz(24.0872, 18.1961, 47.0338)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64B7 #8EB764
analogous
#6464B7 #8D64B7 #B764B7
triadic
#8D64B7 #B78D64 #64B78D
tetradic
#8D64B7 #B76464 #8EB764 #64B7B7
square
#8D64B7 #B76464 #8EB764 #64B7B7
split-complementary
#8D64B7 #B7B764 #64B764
monochromatic
#50336E #6E4697 #8D64B7 #AC8ECA #CAB8DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D64B7#FFFFFF#000000##000000
##8D64B71.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)
#4F75BA
Deuteranopia (green-blind)
#5976B5
Tritanopia (blue-blind)
#867285
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d64b7;
/* rgb */ color: rgb(141, 100, 183);
/* oklch */ color: oklch(58.0% 0.130 305.5);
Tailwind
colors: {
  custom: {
    50: '#b091cd',
    500: '#8d64b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d64b7;
$custom-light: #b091cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64b7",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 183
  },
  "hsl": {
    "h": 269.639,
    "s": 36.564,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.12983,
    "h": 305.5
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

primary
#8D64B7
secondary
#BCCDAA
accent
#CD5B95
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110D13
muted
#807D82

Preview Lab

Preview with #8D64B7

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

Preview Lab → · Contrast checker → · Palette generator →

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