#8B66EF#8B66EF

#8B66EF is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.197 H 292.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8B66EF
RGBrgb(139, 102, 239)
HSLhsl(256, 81%, 67%)
HSVhsv(256, 57%, 94%)
CMYKcmyk(41.8%, 57.3%, 0%, 6.3%)
CIE-LABlab(53.19, 45.84, -64.21)
CIE-LCHlch(53.19, 78.89, 305.52°)
OKLaboklab(61.57% 0.074 -0.1829)
OKLCHoklch(61.57% 0.197 292)
XYZxyz(30.9746, 21.2228, 84.1090)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B66EF #CAEF66
analogous
#6686EF #8B66EF #CF66EF
triadic
#8B66EF #EF8B66 #66EF8B
tetradic
#8B66EF #EF6686 #CAEF66 #66EFCF
square
#8B66EF #EF6686 #CAEF66 #66EFCF
split-complementary
#8B66EF #EFCF66 #86EF66
monochromatic
#4515C6 #612FE9 #8B66EF #B59DF5 #DFD5FB

Accessibility & contrast

On white

4.00
#8B66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8B66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B66EF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B66EF#FFFFFF#000000##000000
##8B66EF1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0881F4
Deuteranopia (green-blind)
#1D7CEC
Tritanopia (blue-blind)
#6F84A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b66ef;
/* rgb */ color: rgb(139, 102, 239);
/* oklch */ color: oklch(61.6% 0.197 292.0);
Tailwind
colors: {
  custom: {
    50: '#b393f5',
    500: '#8b66ef',
    950: '#000000',
  },
}
SCSS
$custom: #8b66ef;
$custom-light: #b393f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b66ef",
  "rgb": {
    "r": 139,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 256.204,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61572,
    "c": 0.1973,
    "h": 292
  },
  "luminance": 0.21224
}

Semantic roles & 50–950 ramp

primary
#8B66EF
secondary
#E2EEC2
accent
#DD08A4
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8B66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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