#8A66D2#8A66D2

#8A66D2 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.6% C 0.161 H 296.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8A66D2
RGBrgb(138, 102, 210)
HSLhsl(260, 55%, 61%)
HSVhsv(260, 51%, 82%)
CMYKcmyk(34.3%, 51.4%, 0%, 17.6%)
CIE-LABlab(51.33, 37.89, -50.84)
CIE-LCHlch(51.33, 63.41, 306.69°)
OKLaboklab(59.61% 0.072 -0.1437)
OKLCHoklch(59.61% 0.161 296.6)
XYZxyz(26.8625, 19.5588, 63.3202)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66D2 #AED266
analogous
#6678D2 #8A66D2 #C066D2
triadic
#8A66D2 #D28A66 #66D28A
tetradic
#8A66D2 #D26678 #AED266 #66D2C0
square
#8A66D2 #D26678 #AED266 #66D2C0
split-complementary
#8A66D2 #D2C066 #78D266
monochromatic
#4E2B93 #6739C2 #8A66D2 #AE95E0 #D2C5EE

Accessibility & contrast

On white

4.28
#8A66D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8A66D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66D2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66D2#FFFFFF#000000##000000
##8A66D21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7BD6
Deuteranopia (green-blind)
#4679CF
Tritanopia (blue-blind)
#7A7B92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a66d2;
/* rgb */ color: rgb(138, 102, 210);
/* oklch */ color: oklch(59.6% 0.161 296.6);
Tailwind
colors: {
  custom: {
    50: '#b092e0',
    500: '#8a66d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a66d2;
$custom-light: #b092e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66d2",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 260,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59611,
    "c": 0.16068,
    "h": 296.6
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#8A66D2
secondary
#D1DEB6
accent
#C2238D
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A66D2

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

Preview Lab → · Contrast checker → · Palette generator →

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