#8666EF#8666EF

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

Color values

HEX#8666EF
RGBrgb(134, 102, 239)
HSLhsl(254, 81%, 67%)
HSVhsv(254, 57%, 94%)
CMYKcmyk(43.9%, 57.3%, 0%, 6.3%)
CIE-LABlab(52.73, 44.77, -64.98)
CIE-LCHlch(52.73, 78.91, 304.57°)
OKLaboklab(61.12% 0.0677 -0.1853)
OKLCHoklch(61.12% 0.197 290.1)
XYZxyz(30.1585, 20.8020, 84.0708)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8666EF #CFEF66
analogous
#668BEF #8666EF #CB66EF
triadic
#8666EF #EF8666 #66EF86
tetradic
#8666EF #EF668B #CFEF66 #66EFCB
square
#8666EF #EF668B #CFEF66 #66EFCB
split-complementary
#8666EF #EFCB66 #8BEF66
monochromatic
#3E15C6 #5A2FE9 #8666EF #B29DF5 #DED5FB

Accessibility & contrast

On white

4.07
#8666EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8666EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8666EF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8666EF#FFFFFF#000000##000000
##8666EF1.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)
#0080F4
Deuteranopia (green-blind)
#107BEC
Tritanopia (blue-blind)
#6784A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8666ef;
/* rgb */ color: rgb(134, 102, 239);
/* oklch */ color: oklch(61.1% 0.197 290.1);
Tailwind
colors: {
  custom: {
    50: '#b093f5',
    500: '#8666ef',
    950: '#000000',
  },
}
SCSS
$custom: #8666ef;
$custom-light: #b093f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8666ef",
  "rgb": {
    "r": 134,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 254.015,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61124,
    "c": 0.19727,
    "h": 290.1
  },
  "luminance": 0.20803
}

Semantic roles & 50–950 ramp

primary
#8666EF
secondary
#E4EEC2
accent
#DD08AC
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8666EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8666EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva