#8366BA#8366BA

#8366BA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.5% C 0.128 H 298.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8366BA
RGBrgb(131, 102, 186)
HSLhsl(261, 38%, 56%)
HSVhsv(261, 45%, 73%)
CMYKcmyk(29.6%, 45.2%, 0%, 27.1%)
CIE-LABlab(49.34, 29.81, -40.28)
CIE-LCHlch(49.34, 50.11, 306.50°)
OKLaboklab(57.54% 0.0606 -0.113)
OKLCHoklch(57.54% 0.128 298.2)
XYZxyz(22.9723, 17.8730, 48.6844)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366BA #9DBA66
analogous
#6673BA #8366BA #AD66BA
triadic
#8366BA #BA8366 #66BA83
tetradic
#8366BA #BA6673 #9DBA66 #66BAAD
square
#8366BA #BA6673 #9DBA66 #66BAAD
split-complementary
#8366BA #BAAD66 #73BA66
monochromatic
#493372 #64469C #8366BA #A590CD #C7BAE0

Accessibility & contrast

On white

4.59
#8366BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8366BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8366BA#FFFFFF#000000##FFFFFF
##8366BA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BD
Deuteranopia (green-blind)
#5374B8
Tritanopia (blue-blind)
#787587
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8366ba;
/* rgb */ color: rgb(131, 102, 186);
/* oklch */ color: oklch(57.5% 0.128 298.2);
Tailwind
colors: {
  custom: {
    50: '#a992cf',
    500: '#8366ba',
    950: '#000000',
  },
}
SCSS
$custom: #8366ba;
$custom-light: #a992cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8366ba",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 260.714,
    "s": 37.838,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.12818,
    "h": 298.2
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

primary
#8366BA
secondary
#C3CFAD
accent
#CE5AA6
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8366BA

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

Preview Lab → · Contrast checker → · Palette generator →

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