#8A66F6#8A66F6

#8A66F6 is a mid, highly saturated violet. Relative luminance 0.216; OKLCH L 62.0% C 0.206 H 290.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8A66F6
RGBrgb(138, 102, 246)
HSLhsl(255, 89%, 68%)
HSVhsv(255, 59%, 96%)
CMYKcmyk(43.9%, 58.5%, 0%, 3.5%)
CIE-LABlab(53.56, 47.53, -67.53)
CIE-LCHlch(53.56, 82.58, 305.14°)
OKLaboklab(61.96% 0.0726 -0.1927)
OKLCHoklch(61.96% 0.206 290.6)
XYZxyz(31.8625, 21.5588, 89.6534)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66F6 #D2F666
analogous
#668AF6 #8A66F6 #D266F6
triadic
#8A66F6 #F68A66 #66F68A
tetradic
#8A66F6 #F6668A #D2F666 #66F6D2
square
#8A66F6 #F6668A #D2F666 #66F6D2
split-complementary
#8A66F6 #F6D266 #8AF666
monochromatic
#3F0DD5 #5E2CF3 #8A66F6 #B6A0F9 #E2DAFD

Accessibility & contrast

On white

3.95
#8A66F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8A66F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66F6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66F6#FFFFFF#000000##000000
##8A66F61.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#6A86A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a66f6;
/* rgb */ color: rgb(138, 102, 246);
/* oklch */ color: oklch(62.0% 0.206 290.6);
Tailwind
colors: {
  custom: {
    50: '#b393fa',
    500: '#8a66f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a66f6;
$custom-light: #b393fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66f6",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 255,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61962,
    "c": 0.20591,
    "h": 290.6
  },
  "luminance": 0.2156
}

Semantic roles & 50–950 ramp

primary
#8A66F6
secondary
#E7F2C6
accent
#E600AC
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A66F6

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

Preview Lab → · Contrast checker → · Palette generator →

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