#8A66FE#8A66FE

#8A66FE is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.5% C 0.216 H 289.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A66FE
RGBrgb(138, 102, 254)
HSLhsl(254, 99%, 70%)
HSVhsv(254, 60%, 100%)
CMYKcmyk(45.7%, 59.8%, 0%, 0.4%)
CIE-LABlab(54.09, 49.72, -71.10)
CIE-LCHlch(54.09, 86.76, 304.96°)
OKLaboklab(62.52% 0.0723 -0.2032)
OKLCHoklch(62.52% 0.216 289.6)
XYZxyz(33.1169, 22.0605, 96.2599)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66FE #DAFE66
analogous
#668EFE #8A66FE #D666FE
triadic
#8A66FE #FE8A66 #66FE8A
tetradic
#8A66FE #FE668E #DAFE66 #66FED6
square
#8A66FE #FE668E #DAFE66 #66FED6
split-complementary
#8A66FE #FED666 #8EFE66
monochromatic
#3802E8 #5C29FE #8A66FE #B8A3FE #E7E0FF

Accessibility & contrast

On white

3.88
#8A66FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A66FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66FE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66FE#FFFFFF#000000##000000
##8A66FE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#6689A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a66fe;
/* rgb */ color: rgb(138, 102, 254);
/* oklch */ color: oklch(62.5% 0.216 289.6);
Tailwind
colors: {
  custom: {
    50: '#b493ff',
    500: '#8a66fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a66fe;
$custom-light: #b493ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66fe",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 254.211,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62524,
    "c": 0.21567,
    "h": 289.6
  },
  "luminance": 0.22062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A66FE

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

Preview Lab → · Contrast checker → · Palette generator →

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