#8B66CD#8B66CD

#8B66CD is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.4% C 0.154 H 298.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8B66CD
RGBrgb(139, 102, 205)
HSLhsl(262, 51%, 60%)
HSVhsv(262, 50%, 80%)
CMYKcmyk(32.2%, 50.2%, 0%, 19.6%)
CIE-LABlab(51.15, 36.85, -48.28)
CIE-LCHlch(51.15, 60.74, 307.35°)
OKLaboklab(59.41% 0.0728 -0.1361)
OKLCHoklch(59.41% 0.154 298.1)
XYZxyz(26.4156, 19.3992, 60.0985)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B66CD #A8CD66
analogous
#6675CD #8B66CD #BE66CD
triadic
#8B66CD #CD8B66 #66CD8B
tetradic
#8B66CD #CD6675 #A8CD66 #66CDBE
square
#8B66CD #CD6675 #A8CD66 #66CDBE
split-complementary
#8B66CD #CDBE66 #75CD66
monochromatic
#4F2D8B #693DB9 #8B66CD #AE94DC #D1C2EB

Accessibility & contrast

On white

4.30
#8B66CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8B66CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B66CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B66CD#FFFFFF#000000##000000
##8B66CD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#7D7A90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b66cd;
/* rgb */ color: rgb(139, 102, 205);
/* oklch */ color: oklch(59.4% 0.154 298.1);
Tailwind
colors: {
  custom: {
    50: '#b092dd',
    500: '#8b66cd',
    950: '#000000',
  },
}
SCSS
$custom: #8b66cd;
$custom-light: #b092dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b66cd",
  "rgb": {
    "r": 139,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 261.553,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.15438,
    "h": 298.1
  },
  "luminance": 0.19399
}

Semantic roles & 50–950 ramp

primary
#8B66CD
secondary
#CDDBB4
accent
#BE2788
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8B66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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