#8A66DC#8A66DC

#8A66DC is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.2% C 0.173 H 294.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A66DC
RGBrgb(138, 102, 220)
HSLhsl(258, 63%, 63%)
HSVhsv(258, 54%, 86%)
CMYKcmyk(37.3%, 53.6%, 0%, 13.7%)
CIE-LABlab(51.92, 40.52, -55.58)
CIE-LCHlch(51.92, 68.78, 306.09°)
OKLaboklab(60.23% 0.0725 -0.1576)
OKLCHoklch(60.23% 0.173 294.7)
XYZxyz(28.1475, 20.0728, 70.0877)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66DC #B8DC66
analogous
#667DDC #8A66DC #C566DC
triadic
#8A66DC #DC8A66 #66DC8A
tetradic
#8A66DC #DC667D #B8DC66 #66DCC5
square
#8A66DC #DC667D #B8DC66 #66DCC5
split-complementary
#8A66DC #DCC566 #7DDC66
monochromatic
#4B25A2 #6434D1 #8A66DC #B098E7 #D6CAF3

Accessibility & contrast

On white

4.19
#8A66DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8A66DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66DC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66DC#FFFFFF#000000##000000
##8A66DC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE0
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#767E97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a66dc;
/* rgb */ color: rgb(138, 102, 220);
/* oklch */ color: oklch(60.2% 0.173 294.7);
Tailwind
colors: {
  custom: {
    50: '#b092e7',
    500: '#8a66dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a66dc;
$custom-light: #b092e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66dc",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 258.305,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60233,
    "c": 0.17345,
    "h": 294.7
  },
  "luminance": 0.20073
}

Semantic roles & 50–950 ramp

primary
#8A66DC
secondary
#D7E4BA
accent
#CB1B95
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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