#8A66CA#8A66CA

#8A66CA is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.1% C 0.150 H 298.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A66CA
RGBrgb(138, 102, 202)
HSLhsl(262, 49%, 60%)
HSVhsv(262, 50%, 79%)
CMYKcmyk(31.7%, 49.5%, 0%, 20.8%)
CIE-LABlab(50.89, 35.82, -46.99)
CIE-LCHlch(50.89, 59.09, 307.32°)
OKLaboklab(59.13% 0.0713 -0.1324)
OKLCHoklch(59.13% 0.15 298.3)
XYZxyz(25.8907, 19.1700, 58.2018)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66CA #A6CA66
analogous
#6674CA #8A66CA #BC66CA
triadic
#8A66CA #CA8A66 #66CA8A
tetradic
#8A66CA #CA6674 #A6CA66 #66CABC
square
#8A66CA #CA6674 #A6CA66 #66CABC
split-complementary
#8A66CA #CABC66 #74CA66
monochromatic
#4E2F87 #693EB4 #8A66CA #AD93DA #D0C1E9

Accessibility & contrast

On white

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

On black

4.83
#8A66CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66CA#FFFFFF#000000##000000
##8A66CA1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4479CE
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#7C798E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a66ca;
/* rgb */ color: rgb(138, 102, 202);
/* oklch */ color: oklch(59.1% 0.150 298.3);
Tailwind
colors: {
  custom: {
    50: '#af92da',
    500: '#8a66ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a66ca;
$custom-light: #af92da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66ca",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 261.6,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59131,
    "c": 0.15036,
    "h": 298.3
  },
  "luminance": 0.1917
}

Semantic roles & 50–950 ramp

primary
#8A66CA
secondary
#CBD9B2
accent
#D850A7
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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