#8A64B2#8A64B2

#8A64B2 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.4% C 0.123 H 305.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A64B2
RGBrgb(138, 100, 178)
HSLhsl(269, 34%, 55%)
HSVhsv(269, 44%, 70%)
CMYKcmyk(22.5%, 43.8%, 0%, 30.2%)
CIE-LABlab(49.17, 31.00, -35.86)
CIE-LCHlch(49.17, 47.40, 310.85°)
OKLaboklab(57.44% 0.0709 -0.1)
OKLCHoklch(57.44% 0.123 305.3)
XYZxyz(23.0726, 17.7321, 44.3180)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64B2 #8CB264
analogous
#6465B2 #8A64B2 #B164B2
triadic
#8A64B2 #B28A64 #64B28A
tetradic
#8A64B2 #B26465 #8CB264 #64B2B1
square
#8A64B2 #B26465 #8CB264 #64B2B1
split-complementary
#8A64B2 #B2B164 #65B264
monochromatic
#4D3468 #6B4891 #8A64B2 #A98DC6 #C8B6DB

Accessibility & contrast

On white

4.62
#8A64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8A64B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A64B2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64B2#FFFFFF#000000##FFFFFF
##8A64B21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#847182
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a64b2;
/* rgb */ color: rgb(138, 100, 178);
/* oklch */ color: oklch(57.4% 0.123 305.3);
Tailwind
colors: {
  custom: {
    50: '#ae91c9',
    500: '#8a64b2',
    950: '#000000',
  },
}
SCSS
$custom: #8a64b2;
$custom-light: #ae91c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64b2",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 269.231,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.12253,
    "h": 305.3
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#8A64B2
secondary
#B9C9A8
accent
#CA5E95
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100D13
muted
#7F7D82

Preview Lab

Preview with #8A64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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