#8A66BE#8A66BE

#8A66BE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.4% C 0.135 H 301.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A66BE
RGBrgb(138, 102, 190)
HSLhsl(265, 40%, 57%)
HSVhsv(265, 46%, 75%)
CMYKcmyk(27.4%, 46.3%, 0%, 25.5%)
CIE-LABlab(50.24, 32.78, -41.12)
CIE-LCHlch(50.24, 52.59, 308.57°)
OKLaboklab(58.44% 0.0699 -0.1152)
OKLCHoklch(58.44% 0.135 301.2)
XYZxyz(24.5248, 18.6237, 51.0079)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66BE #9ABE66
analogous
#666EBE #8A66BE #B666BE
triadic
#8A66BE #BE8A66 #66BE8A
tetradic
#8A66BE #BE666E #9ABE66 #66BEB6
square
#8A66BE #BE666E #9ABE66 #66BEB6
split-complementary
#8A66BE #BEB666 #6EBE66
monochromatic
#4F3377 #6B45A2 #8A66BE #AB91D0 #CCBCE2

Accessibility & contrast

On white

4.44
#8A66BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A66BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66BE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66BE#FFFFFF#000000##000000
##8A66BE1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C1
Deuteranopia (green-blind)
#5577BC
Tritanopia (blue-blind)
#807689
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a66be;
/* rgb */ color: rgb(138, 102, 190);
/* oklch */ color: oklch(58.4% 0.135 301.2);
Tailwind
colors: {
  custom: {
    50: '#ae92d2',
    500: '#8a66be',
    950: '#000000',
  },
}
SCSS
$custom: #8a66be;
$custom-light: #ae92d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66be",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 264.545,
    "s": 40.367,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.13476,
    "h": 301.2
  },
  "luminance": 0.18624
}

Semantic roles & 50–950 ramp

primary
#8A66BE
secondary
#C3D2AE
accent
#D0589F
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A66BE

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

Preview Lab → · Contrast checker → · Palette generator →

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