#8A66FD#8A66FD

#8A66FD is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.5% C 0.214 H 289.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8A66FD
RGBrgb(138, 102, 253)
HSLhsl(254, 97%, 70%)
HSVhsv(254, 60%, 99%)
CMYKcmyk(45.5%, 59.7%, 0%, 0.8%)
CIE-LABlab(54.02, 49.44, -70.66)
CIE-LCHlch(54.02, 86.24, 304.98°)
OKLaboklab(62.45% 0.0723 -0.2019)
OKLCHoklch(62.45% 0.214 289.7)
XYZxyz(32.9572, 21.9966, 95.4187)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66FD #D9FD66
analogous
#668DFD #8A66FD #D666FD
triadic
#8A66FD #FD8A66 #66FD8A
tetradic
#8A66FD #FD668D #D9FD66 #66FDD6
square
#8A66FD #FD668D #D9FD66 #66FDD6
split-complementary
#8A66FD #FDD666 #8DFD66
monochromatic
#3903E6 #5C2AFC #8A66FD #B8A2FE #E6DFFF

Accessibility & contrast

On white

3.89
#8A66FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8A66FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66FD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66FD#FFFFFF#000000##000000
##8A66FD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a66fd;
/* rgb */ color: rgb(138, 102, 253);
/* oklch */ color: oklch(62.5% 0.214 289.7);
Tailwind
colors: {
  custom: {
    50: '#b493ff',
    500: '#8a66fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a66fd;
$custom-light: #b493ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66fd",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 254.305,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62453,
    "c": 0.21446,
    "h": 289.7
  },
  "luminance": 0.21998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A66FD

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

Preview Lab → · Contrast checker → · Palette generator →

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