#8A66FF#8A66FF

#8A66FF is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.6% C 0.217 H 289.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A66FF
RGBrgb(138, 102, 255)
HSLhsl(254, 100%, 70%)
HSVhsv(254, 60%, 100%)
CMYKcmyk(45.9%, 60%, 0%, 0%)
CIE-LABlab(54.16, 49.99, -71.55)
CIE-LCHlch(54.16, 87.28, 304.94°)
OKLaboklab(62.6% 0.0722 -0.2045)
OKLCHoklch(62.6% 0.217 289.5)
XYZxyz(33.2775, 22.1247, 97.1055)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66FF #DBFF66
analogous
#668EFF #8A66FF #D766FF
triadic
#8A66FF #FF8A66 #66FF8A
tetradic
#8A66FF #FF668E #DBFF66 #66FFD7
square
#8A66FF #FF668E #DBFF66 #66FFD7
split-complementary
#8A66FF #FFD766 #8EFF66
monochromatic
#3700EB #5B29FF #8A66FF #B9A3FF #E8E0FF

Accessibility & contrast

On white

3.87
#8A66FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8A66FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66FF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66FF#FFFFFF#000000##000000
##8A66FF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007EFC
Tritanopia (blue-blind)
#6589A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a66ff;
/* rgb */ color: rgb(138, 102, 255);
/* oklch */ color: oklch(62.6% 0.217 289.5);
Tailwind
colors: {
  custom: {
    50: '#b493ff',
    500: '#8a66ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a66ff;
$custom-light: #b493ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66ff",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 254.118,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.62595,
    "c": 0.21688,
    "h": 289.5
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

primary
#8A66FF
secondary
#ECF6CB
accent
#E600AF
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A66FF

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

Preview Lab → · Contrast checker → · Palette generator →

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