#8A66EC#8A66EC

#8A66EC is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.3% C 0.194 H 292.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A66EC
RGBrgb(138, 102, 236)
HSLhsl(256, 78%, 66%)
HSVhsv(256, 57%, 93%)
CMYKcmyk(41.5%, 56.8%, 0%, 7.5%)
CIE-LABlab(52.91, 44.81, -63.00)
CIE-LCHlch(52.91, 77.31, 305.42°)
OKLaboklab(61.28% 0.0728 -0.1794)
OKLCHoklch(61.28% 0.194 292.1)
XYZxyz(30.3688, 20.9613, 81.7865)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66EC #C8EC66
analogous
#6685EC #8A66EC #CD66EC
triadic
#8A66EC #EC8A66 #66EC8A
tetradic
#8A66EC #EC6685 #C8EC66 #66ECCD
square
#8A66EC #EC6685 #C8EC66 #66ECCD
split-complementary
#8A66EC #ECCD66 #85EC66
monochromatic
#4518C0 #6030E5 #8A66EC #B49CF3 #DDD3FA

Accessibility & contrast

On white

4.04
#8A66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8A66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66EC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66EC#FFFFFF#000000##000000
##8A66EC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1380F0
Deuteranopia (green-blind)
#237CE9
Tritanopia (blue-blind)
#6F839F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a66ec;
/* rgb */ color: rgb(138, 102, 236);
/* oklch */ color: oklch(61.3% 0.194 292.1);
Tailwind
colors: {
  custom: {
    50: '#b293f3',
    500: '#8a66ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a66ec;
$custom-light: #b293f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66ec",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 256.119,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61279,
    "c": 0.19356,
    "h": 292.1
  },
  "luminance": 0.20962
}

Semantic roles & 50–950 ramp

primary
#8A66EC
secondary
#E1EDC1
accent
#DA0BA3
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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