#8A66B3#8A66B3

#8A66B3 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 57.8% C 0.120 H 304.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8A66B3
RGBrgb(138, 102, 179)
HSLhsl(268, 34%, 55%)
HSVhsv(268, 43%, 70%)
CMYKcmyk(22.9%, 43%, 0%, 29.8%)
CIE-LABlab(49.69, 30.08, -35.62)
CIE-LCHlch(49.69, 46.62, 310.18°)
OKLaboklab(57.85% 0.0681 -0.0993)
OKLCHoklch(57.85% 0.12 304.5)
XYZxyz(23.3676, 18.1608, 44.9134)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66B3 #8FB366
analogous
#6669B3 #8A66B3 #B066B3
triadic
#8A66B3 #B38A66 #66B38A
tetradic
#8A66B3 #B36669 #8FB366 #66B3B0
square
#8A66B3 #B36669 #8FB366 #66B3B0
split-complementary
#8A66B3 #B3B066 #69B366
monochromatic
#4E356A #6C4993 #8A66B3 #A98FC7 #C9B8DC

Accessibility & contrast

On white

4.53
#8A66B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8A66B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66B3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66B3#FFFFFF#000000##000000
##8A66B31.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B6
Deuteranopia (green-blind)
#5B76B1
Tritanopia (blue-blind)
#837384
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a66b3;
/* rgb */ color: rgb(138, 102, 179);
/* oklch */ color: oklch(57.8% 0.120 304.5);
Tailwind
colors: {
  custom: {
    50: '#ae92ca',
    500: '#8a66b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a66b3;
$custom-light: #ae92ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66b3",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 268.052,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.12041,
    "h": 304.5
  },
  "luminance": 0.18161
}

Semantic roles & 50–950 ramp

primary
#8A66B3
secondary
#BBCBAA
accent
#CA5E97
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A66B3

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

Preview Lab → · Contrast checker → · Palette generator →

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