#8366AA#8366AA

#8366AA is a mid, moderate violet. Relative luminance 0.172; OKLCH L 56.7% C 0.107 H 302.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8366AA
RGBrgb(131, 102, 170)
HSLhsl(266, 29%, 53%)
HSVhsv(266, 40%, 67%)
CMYKcmyk(22.9%, 40%, 0%, 33.3%)
CIE-LABlab(48.55, 25.79, -32.21)
CIE-LCHlch(48.55, 41.26, 308.68°)
OKLaboklab(56.68% 0.0577 -0.0896)
OKLCHoklch(56.68% 0.107 302.8)
XYZxyz(21.3656, 17.2303, 40.2226)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366AA #8DAA66
analogous
#666BAA #8366AA #A566AA
triadic
#8366AA #AA8366 #66AA83
tetradic
#8366AA #AA666B #8DAA66 #66AAA5
square
#8366AA #AA666B #8DAA66 #66AAA5
split-complementary
#8366AA #AAA566 #6BAA66
monochromatic
#483560 #654B88 #8366AA #A38DC0 #C3B5D6

Accessibility & contrast

On white

4.72
#8366AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8366AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8366AA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366AA#FFFFFF#000000##FFFFFF
##8366AA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5673AD
Deuteranopia (green-blind)
#5C73A8
Tritanopia (blue-blind)
#7C7180
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8366aa;
/* rgb */ color: rgb(131, 102, 170);
/* oklch */ color: oklch(56.7% 0.107 302.8);
Tailwind
colors: {
  custom: {
    50: '#a892c3',
    500: '#8366aa',
    950: '#000000',
  },
}
SCSS
$custom: #8366aa;
$custom-light: #a892c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8366aa",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 170
  },
  "hsl": {
    "h": 265.588,
    "s": 28.571,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.10656,
    "h": 302.8
  },
  "luminance": 0.1723
}

Semantic roles & 50–950 ramp

primary
#8366AA
secondary
#B8C5A7
accent
#C5639B
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8366AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8366AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva