#8A66EF#8A66EF

#8A66EF is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.5% C 0.197 H 291.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A66EF
RGBrgb(138, 102, 239)
HSLhsl(256, 81%, 67%)
HSVhsv(256, 57%, 94%)
CMYKcmyk(42.3%, 57.3%, 0%, 6.3%)
CIE-LABlab(53.10, 45.62, -64.37)
CIE-LCHlch(53.10, 78.89, 305.33°)
OKLaboklab(61.48% 0.0728 -0.1834)
OKLCHoklch(61.48% 0.197 291.6)
XYZxyz(30.8083, 21.1371, 84.1012)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66EF #CBEF66
analogous
#6687EF #8A66EF #CE66EF
triadic
#8A66EF #EF8A66 #66EF8A
tetradic
#8A66EF #EF6687 #CBEF66 #66EFCE
square
#8A66EF #EF6687 #CBEF66 #66EFCE
split-complementary
#8A66EF #EFCE66 #87EF66
monochromatic
#4315C6 #602FE9 #8A66EF #B49DF5 #DFD5FB

Accessibility & contrast

On white

4.02
#8A66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66EF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66EF#FFFFFF#000000##000000
##8A66EF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0681F4
Deuteranopia (green-blind)
#1B7CEC
Tritanopia (blue-blind)
#6E84A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a66ef;
/* rgb */ color: rgb(138, 102, 239);
/* oklch */ color: oklch(61.5% 0.197 291.6);
Tailwind
colors: {
  custom: {
    50: '#b293f5',
    500: '#8a66ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a66ef;
$custom-light: #b293f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66ef",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 255.766,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.19728,
    "h": 291.6
  },
  "luminance": 0.21138
}

Semantic roles & 50–950 ramp

primary
#8A66EF
secondary
#E3EEC2
accent
#DD08A5
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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