#8366B2#8366B2

#8366B2 is a mid, moderate violet. Relative luminance 0.175; OKLCH L 57.1% C 0.117 H 300.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8366B2
RGBrgb(131, 102, 178)
HSLhsl(263, 33%, 55%)
HSVhsv(263, 43%, 70%)
CMYKcmyk(26.4%, 42.7%, 0%, 30.2%)
CIE-LABlab(48.94, 27.77, -36.27)
CIE-LCHlch(48.94, 45.68, 307.44°)
OKLaboklab(57.1% 0.0593 -0.1013)
OKLCHoklch(57.1% 0.117 300.3)
XYZxyz(22.1455, 17.5423, 44.3301)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366B2 #95B266
analogous
#666FB2 #8366B2 #A966B2
triadic
#8366B2 #B28366 #66B283
tetradic
#8366B2 #B2666F #95B266 #66B2A9
square
#8366B2 #B2666F #95B266 #66B2A9
split-complementary
#8366B2 #B2A966 #6FB266
monochromatic
#493569 #654992 #8366B2 #A48FC6 #C5B7DB

Accessibility & contrast

On white

4.66
#8366B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8366B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8366B2#FFFFFF#000000##FFFFFF
##8366B21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#5774B0
Tritanopia (blue-blind)
#7A7383
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8366b2;
/* rgb */ color: rgb(131, 102, 178);
/* oklch */ color: oklch(57.1% 0.117 300.3);
Tailwind
colors: {
  custom: {
    50: '#a992c9',
    500: '#8366b2',
    950: '#000000',
  },
}
SCSS
$custom: #8366b2;
$custom-light: #a992c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8366b2",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 262.895,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57097,
    "c": 0.11739,
    "h": 300.3
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#8366B2
secondary
#BECAAA
accent
#C95FA1
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8366B2

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

Preview Lab → · Contrast checker → · Palette generator →

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