#8A66E9#8A66E9

#8A66E9 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.190 H 292.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8A66E9
RGBrgb(138, 102, 233)
HSLhsl(256, 75%, 66%)
HSVhsv(256, 56%, 91%)
CMYKcmyk(40.8%, 56.2%, 0%, 8.6%)
CIE-LABlab(52.72, 44.00, -61.62)
CIE-LCHlch(52.72, 75.72, 305.53°)
OKLaboklab(61.08% 0.0728 -0.1753)
OKLCHoklch(61.08% 0.19 292.5)
XYZxyz(29.9366, 20.7884, 79.5103)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66E9 #C5E966
analogous
#6683E9 #8A66E9 #CC66E9
triadic
#8A66E9 #E98A66 #66E98A
tetradic
#8A66E9 #E96683 #C5E966 #66E9CC
square
#8A66E9 #E96683 #C5E966 #66E9CC
split-complementary
#8A66E9 #E9CC66 #83E966
monochromatic
#461BBA #6130E1 #8A66E9 #B39CF1 #DCD1F8

Accessibility & contrast

On white

4.07
#8A66E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8A66E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66E9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66E9#FFFFFF#000000##000000
##8A66E91.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C80ED
Deuteranopia (green-blind)
#297BE6
Tritanopia (blue-blind)
#70829E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a66e9;
/* rgb */ color: rgb(138, 102, 233);
/* oklch */ color: oklch(61.1% 0.190 292.5);
Tailwind
colors: {
  custom: {
    50: '#b293f1',
    500: '#8a66e9',
    950: '#000000',
  },
}
SCSS
$custom: #8a66e9;
$custom-light: #b293f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66e9",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 256.489,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61079,
    "c": 0.18982,
    "h": 292.5
  },
  "luminance": 0.20789
}

Semantic roles & 50–950 ramp

primary
#8A66E9
secondary
#DFEBC0
accent
#D70EA0
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A66E9

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

Preview Lab → · Contrast checker → · Palette generator →

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