#8A66FB#8A66FB

#8A66FB is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.3% C 0.212 H 290.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8A66FB
RGBrgb(138, 102, 251)
HSLhsl(254, 95%, 69%)
HSVhsv(254, 59%, 98%)
CMYKcmyk(45%, 59.4%, 0%, 1.6%)
CIE-LABlab(53.89, 48.90, -69.77)
CIE-LCHlch(53.89, 85.20, 305.02°)
OKLaboklab(62.31% 0.0724 -0.1993)
OKLCHoklch(62.31% 0.212 290)
XYZxyz(32.6403, 21.8699, 93.7496)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66FB #D7FB66
analogous
#668DFB #8A66FB #D566FB
triadic
#8A66FB #FB8A66 #66FB8A
tetradic
#8A66FB #FB668D #D7FB66 #66FBD5
square
#8A66FB #FB668D #D7FB66 #66FBD5
split-complementary
#8A66FB #FBD566 #8DFB66
monochromatic
#3B06E1 #5C2AF9 #8A66FB #B8A2FD #E5DDFE

Accessibility & contrast

On white

3.91
#8A66FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8A66FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66FB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66FB#FFFFFF#000000##000000
##8A66FB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007DF8
Tritanopia (blue-blind)
#6788A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a66fb;
/* rgb */ color: rgb(138, 102, 251);
/* oklch */ color: oklch(62.3% 0.212 290.0);
Tailwind
colors: {
  custom: {
    50: '#b393fe',
    500: '#8a66fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a66fb;
$custom-light: #b393fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66fb",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 254.497,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62311,
    "c": 0.21202,
    "h": 290
  },
  "luminance": 0.21871
}

Semantic roles & 50–950 ramp

primary
#8A66FB
secondary
#EAF4C9
accent
#E600AE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A66FB

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

Preview Lab → · Contrast checker → · Palette generator →

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