#8A66DA#8A66DA

#8A66DA is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.1% C 0.171 H 295.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A66DA
RGBrgb(138, 102, 218)
HSLhsl(259, 61%, 63%)
HSVhsv(259, 53%, 85%)
CMYKcmyk(36.7%, 53.2%, 0%, 14.5%)
CIE-LABlab(51.80, 39.99, -54.64)
CIE-LCHlch(51.80, 67.71, 306.20°)
OKLaboklab(60.11% 0.0724 -0.1548)
OKLCHoklch(60.11% 0.171 295.1)
XYZxyz(27.8842, 19.9674, 68.7011)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66DA #B6DA66
analogous
#667CDA #8A66DA #C466DA
triadic
#8A66DA #DA8A66 #66DA8A
tetradic
#8A66DA #DA667C #B6DA66 #66DAC4
square
#8A66DA #DA667C #B6DA66 #66DAC4
split-complementary
#8A66DA #DAC466 #7CDA66
monochromatic
#4C269F #6435CE #8A66DA #B097E6 #D5C9F2

Accessibility & contrast

On white

4.21
#8A66DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8A66DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66DA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66DA#FFFFFF#000000##000000
##8A66DA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#347CDE
Deuteranopia (green-blind)
#3E7AD7
Tritanopia (blue-blind)
#777E96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a66da;
/* rgb */ color: rgb(138, 102, 218);
/* oklch */ color: oklch(60.1% 0.171 295.1);
Tailwind
colors: {
  custom: {
    50: '#b092e6',
    500: '#8a66da',
    950: '#000000',
  },
}
SCSS
$custom: #8a66da;
$custom-light: #b092e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66da",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 258.621,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.17091,
    "h": 295.1
  },
  "luminance": 0.19968
}

Semantic roles & 50–950 ramp

primary
#8A66DA
secondary
#D6E3B9
accent
#C91D93
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A66DA

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

Preview Lab → · Contrast checker → · Palette generator →

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