#8A64D3#8A64D3

#8A64D3 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.3% C 0.165 H 296.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A64D3
RGBrgb(138, 100, 211)
HSLhsl(261, 56%, 61%)
HSVhsv(261, 53%, 83%)
CMYKcmyk(34.6%, 52.6%, 0%, 17.3%)
CIE-LABlab(50.94, 39.29, -52.04)
CIE-LCHlch(50.94, 65.21, 307.05°)
OKLaboklab(59.34% 0.0746 -0.1472)
OKLCHoklch(59.34% 0.165 296.9)
XYZxyz(26.7933, 19.2204, 63.9137)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64D3 #ADD364
analogous
#6475D3 #8A64D3 #C264D3
triadic
#8A64D3 #D38A64 #64D38A
tetradic
#8A64D3 #D36475 #ADD364 #64D3C2
square
#8A64D3 #D36475 #ADD364 #64D3C2
split-complementary
#8A64D3 #D3C264 #75D364
monochromatic
#4E2A93 #6737C3 #8A64D3 #AE94E1 #D2C3EE

Accessibility & contrast

On white

4.34
#8A64D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8A64D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64D3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64D3#FFFFFF#000000##000000
##8A64D31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#387AD7
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#797A92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a64d3;
/* rgb */ color: rgb(138, 100, 211);
/* oklch */ color: oklch(59.3% 0.165 296.9);
Tailwind
colors: {
  custom: {
    50: '#b091e1',
    500: '#8a64d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a64d3;
$custom-light: #b091e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64d3",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 211
  },
  "hsl": {
    "h": 260.541,
    "s": 55.779,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5934,
    "c": 0.16498,
    "h": 296.9
  },
  "luminance": 0.19221
}

Semantic roles & 50–950 ramp

primary
#8A64D3
secondary
#D0DEB4
accent
#C3228C
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A64D3

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

Preview Lab → · Contrast checker → · Palette generator →

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