#8A66AF#8A66AF

#8A66AF is a mid, moderate violet. Relative luminance 0.180; OKLCH L 57.6% C 0.115 H 305.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A66AF
RGBrgb(138, 102, 175)
HSLhsl(270, 31%, 54%)
HSVhsv(270, 42%, 69%)
CMYKcmyk(21.1%, 41.7%, 0%, 31.4%)
CIE-LABlab(49.50, 29.12, -33.60)
CIE-LCHlch(49.50, 44.46, 310.92°)
OKLaboklab(57.64% 0.0674 -0.0934)
OKLCHoklch(57.64% 0.115 305.8)
XYZxyz(22.9689, 18.0013, 42.8137)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66AF #8BAF66
analogous
#6667AF #8A66AF #AE66AF
triadic
#8A66AF #AF8A66 #66AF8A
tetradic
#8A66AF #AF6667 #8BAF66 #66AFAE
square
#8A66AF #AF6667 #8BAF66 #66AFAE
split-complementary
#8A66AF #AFAE66 #67AF66
monochromatic
#4D3566 #6B4A8E #8A66AF #A98EC4 #C7B6D9

Accessibility & contrast

On white

4.57
#8A66AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8A66AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66AF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66AF#FFFFFF#000000##000000
##8A66AF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5574B2
Deuteranopia (green-blind)
#5D76AD
Tritanopia (blue-blind)
#847282
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a66af;
/* rgb */ color: rgb(138, 102, 175);
/* oklch */ color: oklch(57.6% 0.115 305.8);
Tailwind
colors: {
  custom: {
    50: '#ad92c7',
    500: '#8a66af',
    950: '#000000',
  },
}
SCSS
$custom: #8a66af;
$custom-light: #ad92c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66af",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 269.589,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57638,
    "c": 0.11519,
    "h": 305.8
  },
  "luminance": 0.18001
}

Semantic roles & 50–950 ramp

primary
#8A66AF
secondary
#B9C8A9
accent
#C86095
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A66AF

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

Preview Lab → · Contrast checker → · Palette generator →

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