#8A64DF#8A64DF

#8A64DF is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.1% C 0.180 H 294.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A64DF
RGBrgb(138, 100, 223)
HSLhsl(259, 66%, 63%)
HSVhsv(259, 55%, 87%)
CMYKcmyk(38.1%, 55.2%, 0%, 12.5%)
CIE-LABlab(51.66, 42.45, -57.69)
CIE-LCHlch(51.66, 71.63, 306.34°)
OKLaboklab(60.1% 0.075 -0.1638)
OKLCHoklch(60.1% 0.18 294.6)
XYZxyz(28.3542, 19.8447, 72.1343)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64DF #B9DF64
analogous
#647BDF #8A64DF #C864DF
triadic
#8A64DF #DF8A64 #64DF8A
tetradic
#8A64DF #DF647B #B9DF64 #64DFC8
square
#8A64DF #DF647B #B9DF64 #64DFC8
split-complementary
#8A64DF #DFC864 #7BDF64
monochromatic
#4B22A6 #6431D5 #8A64DF #B097E9 #D7C9F4

Accessibility & contrast

On white

4.23
#8A64DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8A64DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64DF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64DF#FFFFFF#000000##000000
##8A64DF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#287CE3
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#757E98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a64df;
/* rgb */ color: rgb(138, 100, 223);
/* oklch */ color: oklch(60.1% 0.180 294.6);
Tailwind
colors: {
  custom: {
    50: '#b191ea',
    500: '#8a64df',
    950: '#000000',
  },
}
SCSS
$custom: #8a64df;
$custom-light: #b191ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64df",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 258.537,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60101,
    "c": 0.18014,
    "h": 294.6
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#8A64DF
secondary
#D8E5B9
accent
#CE1895
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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