#8A66CB#8A66CB

#8A66CB is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.2% C 0.152 H 298.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A66CB
RGBrgb(138, 102, 203)
HSLhsl(261, 49%, 60%)
HSVhsv(261, 50%, 80%)
CMYKcmyk(32%, 49.8%, 0%, 20.4%)
CIE-LABlab(50.94, 36.08, -47.48)
CIE-LCHlch(50.94, 59.63, 307.23°)
OKLaboklab(59.19% 0.0714 -0.1338)
OKLCHoklch(59.19% 0.152 298.1)
XYZxyz(26.0095, 19.2175, 58.8274)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66CB #A7CB66
analogous
#6675CB #8A66CB #BC66CB
triadic
#8A66CB #CB8A66 #66CB8A
tetradic
#8A66CB #CB6675 #A7CB66 #66CBBC
square
#8A66CB #CB6675 #A7CB66 #66CBBC
split-complementary
#8A66CB #CBBC66 #75CB66
monochromatic
#4E2E88 #693EB6 #8A66CB #AD94DB #D0C1EA

Accessibility & contrast

On white

4.34
#8A66CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8A66CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66CB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66CB#FFFFFF#000000##000000
##8A66CB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CF
Deuteranopia (green-blind)
#4C78C9
Tritanopia (blue-blind)
#7C798F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a66cb;
/* rgb */ color: rgb(138, 102, 203);
/* oklch */ color: oklch(59.2% 0.152 298.1);
Tailwind
colors: {
  custom: {
    50: '#af92db',
    500: '#8a66cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a66cb;
$custom-light: #af92db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66cb",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 261.386,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.15165,
    "h": 298.1
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

primary
#8A66CB
secondary
#CCDAB3
accent
#D94FA8
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A66CB

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

Preview Lab → · Contrast checker → · Palette generator →

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