#8A66DF#8A66DF

#8A66DF is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.4% C 0.177 H 294.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8A66DF
RGBrgb(138, 102, 223)
HSLhsl(258, 65%, 64%)
HSVhsv(258, 54%, 87%)
CMYKcmyk(38.1%, 54.3%, 0%, 12.5%)
CIE-LABlab(52.10, 41.32, -56.99)
CIE-LCHlch(52.10, 70.39, 305.94°)
OKLaboklab(60.43% 0.0726 -0.1617)
OKLCHoklch(60.43% 0.177 294.2)
XYZxyz(28.5484, 20.2331, 72.1990)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66DF #BBDF66
analogous
#667EDF #8A66DF #C666DF
triadic
#8A66DF #DF8A66 #66DF8A
tetradic
#8A66DF #DF667E #BBDF66 #66DFC6
square
#8A66DF #DF667E #BBDF66 #66DFC6
split-complementary
#8A66DF #DFC666 #7EDF66
monochromatic
#4A23A8 #6333D4 #8A66DF #B199EA #D7CBF4

Accessibility & contrast

On white

4.16
#8A66DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8A66DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66DF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66DF#FFFFFF#000000##000000
##8A66DF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7DE3
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#757F99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a66df;
/* rgb */ color: rgb(138, 102, 223);
/* oklch */ color: oklch(60.4% 0.177 294.2);
Tailwind
colors: {
  custom: {
    50: '#b193ea',
    500: '#8a66df',
    950: '#000000',
  },
}
SCSS
$custom: #8a66df;
$custom-light: #b193ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66df",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 257.851,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.17725,
    "h": 294.2
  },
  "luminance": 0.20234
}

Semantic roles & 50–950 ramp

primary
#8A66DF
secondary
#D9E6BB
accent
#CD1897
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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