#8A66BC#8A66BC

#8A66BC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.3% C 0.132 H 301.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8A66BC
RGBrgb(138, 102, 188)
HSLhsl(265, 39%, 57%)
HSVhsv(265, 46%, 74%)
CMYKcmyk(26.6%, 45.7%, 0%, 26.3%)
CIE-LABlab(50.14, 32.28, -40.12)
CIE-LCHlch(50.14, 51.50, 308.82°)
OKLaboklab(58.33% 0.0696 -0.1124)
OKLCHoklch(58.33% 0.132 301.8)
XYZxyz(24.3077, 18.5368, 49.8646)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66BC #98BC66
analogous
#666DBC #8A66BC #B566BC
triadic
#8A66BC #BC8A66 #66BC8A
tetradic
#8A66BC #BC666D #98BC66 #66BCB5
square
#8A66BC #BC666D #98BC66 #66BCB5
split-complementary
#8A66BC #BCB566 #6DBC66
monochromatic
#4E3375 #6B469F #8A66BC #AB91CF #CBBBE1

Accessibility & contrast

On white

4.46
#8A66BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8A66BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66BC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66BC#FFFFFF#000000##000000
##8A66BC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BF
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#817588
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a66bc;
/* rgb */ color: rgb(138, 102, 188);
/* oklch */ color: oklch(58.3% 0.132 301.8);
Tailwind
colors: {
  custom: {
    50: '#ae92d0',
    500: '#8a66bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a66bc;
$custom-light: #ae92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66bc",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 265.116,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.13216,
    "h": 301.8
  },
  "luminance": 0.18537
}

Semantic roles & 50–950 ramp

primary
#8A66BC
secondary
#C2D0AD
accent
#CF599E
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A66BC

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

Preview Lab → · Contrast checker → · Palette generator →

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