#8D64B2#8D64B2

#8D64B2 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.7% C 0.123 H 307.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D64B2
RGBrgb(141, 100, 178)
HSLhsl(272, 34%, 55%)
HSVhsv(272, 44%, 70%)
CMYKcmyk(20.8%, 43.8%, 0%, 30.2%)
CIE-LABlab(49.49, 31.89, -35.34)
CIE-LCHlch(49.49, 47.60, 312.06°)
OKLaboklab(57.75% 0.0746 -0.0984)
OKLCHoklch(57.75% 0.123 307.2)
XYZxyz(23.5760, 17.9916, 44.3416)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64B2 #89B264
analogous
#6664B2 #8D64B2 #B264B0
triadic
#8D64B2 #B28D64 #64B28D
tetradic
#8D64B2 #B26664 #89B264 #64B0B2
square
#8D64B2 #B26664 #89B264 #64B0B2
split-complementary
#8D64B2 #B0B264 #64B266
monochromatic
#4F3468 #6E4891 #8D64B2 #AB8DC6 #C9B6DB

Accessibility & contrast

On white

4.57
#8D64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8D64B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64B2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64B2#FFFFFF#000000##000000
##8D64B21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#887082
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d64b2;
/* rgb */ color: rgb(141, 100, 178);
/* oklch */ color: oklch(57.7% 0.123 307.2);
Tailwind
colors: {
  custom: {
    50: '#b091c9',
    500: '#8d64b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d64b2;
$custom-light: #b091c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64b2",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 271.538,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.12347,
    "h": 307.2
  },
  "luminance": 0.17991
}

Semantic roles & 50–950 ramp

primary
#8D64B2
secondary
#B8C9A8
accent
#CA5E91
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#110D13
muted
#807D82

Preview Lab

Preview with #8D64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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