#8A66C7#8A66C7

#8A66C7 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.0% C 0.146 H 299.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A66C7
RGBrgb(138, 102, 199)
HSLhsl(262, 46%, 59%)
HSVhsv(262, 49%, 78%)
CMYKcmyk(30.7%, 48.7%, 0%, 22%)
CIE-LABlab(50.72, 35.05, -45.54)
CIE-LCHlch(50.72, 57.47, 307.59°)
OKLaboklab(58.96% 0.071 -0.1281)
OKLCHoklch(58.96% 0.146 299)
XYZxyz(25.5390, 19.0293, 56.3493)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66C7 #A3C766
analogous
#6673C7 #8A66C7 #BB66C7
triadic
#8A66C7 #C78A66 #66C78A
tetradic
#8A66C7 #C76673 #A3C766 #66C7BB
square
#8A66C7 #C76673 #A3C766 #66C7BB
split-complementary
#8A66C7 #C7BB66 #73C766
monochromatic
#4F3083 #6A40B0 #8A66C7 #AC93D7 #CFC0E8

Accessibility & contrast

On white

4.37
#8A66C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8A66C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66C7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66C7#FFFFFF#000000##000000
##8A66C71.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4679CA
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#7D788D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a66c7;
/* rgb */ color: rgb(138, 102, 199);
/* oklch */ color: oklch(59.0% 0.146 299.0);
Tailwind
colors: {
  custom: {
    50: '#af92d8',
    500: '#8a66c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a66c7;
$custom-light: #af92d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66c7",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 199
  },
  "hsl": {
    "h": 262.268,
    "s": 46.411,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58956,
    "c": 0.14648,
    "h": 299
  },
  "luminance": 0.1903
}

Semantic roles & 50–950 ramp

primary
#8A66C7
secondary
#C9D7B1
accent
#D652A5
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8A66C7

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

Preview Lab → · Contrast checker → · Palette generator →

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