#8D64C1#8D64C1

#8D64C1 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.6% C 0.143 H 302.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8D64C1
RGBrgb(141, 100, 193)
HSLhsl(266, 43%, 57%)
HSVhsv(266, 48%, 76%)
CMYKcmyk(26.9%, 48.2%, 0%, 24.3%)
CIE-LABlab(50.25, 35.51, -42.82)
CIE-LCHlch(50.25, 55.63, 309.67°)
OKLaboklab(58.57% 0.0768 -0.1201)
OKLCHoklch(58.57% 0.143 302.6)
XYZxyz(25.1652, 18.6273, 52.7114)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64C1 #98C164
analogous
#6469C1 #8D64C1 #BC64C1
triadic
#8D64C1 #C18D64 #64C18D
tetradic
#8D64C1 #C16469 #98C164 #64C1BC
square
#8D64C1 #C16469 #98C164 #64C1BC
split-complementary
#8D64C1 #C1BC64 #69C164
monochromatic
#51317A #6E42A6 #8D64C1 #AD90D2 #CDBBE4

Accessibility & contrast

On white

4.44
#8D64C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8D64C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64C1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64C1#FFFFFF#000000##000000
##8D64C11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C4
Deuteranopia (green-blind)
#5377BF
Tritanopia (blue-blind)
#847589
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d64c1;
/* rgb */ color: rgb(141, 100, 193);
/* oklch */ color: oklch(58.6% 0.143 302.6);
Tailwind
colors: {
  custom: {
    50: '#b191d4',
    500: '#8d64c1',
    950: '#000000',
  },
}
SCSS
$custom: #8d64c1;
$custom-light: #b191d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64c1",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 193
  },
  "hsl": {
    "h": 266.452,
    "s": 42.857,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58569,
    "c": 0.14256,
    "h": 302.6
  },
  "luminance": 0.18627
}

Semantic roles & 50–950 ramp

primary
#8D64C1
secondary
#C3D3AE
accent
#D3559B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110D14
muted
#807D83

Preview Lab

Preview with #8D64C1

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

Preview Lab → · Contrast checker → · Palette generator →

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