#8366CE#8366CE

#8366CE is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.7% C 0.155 H 294.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8366CE
RGBrgb(131, 102, 206)
HSLhsl(257, 51%, 60%)
HSVhsv(257, 50%, 81%)
CMYKcmyk(36.4%, 50.5%, 0%, 19.2%)
CIE-LABlab(50.43, 35.07, -50.04)
CIE-LCHlch(50.43, 61.11, 305.02°)
OKLaboklab(58.71% 0.0629 -0.1415)
OKLCHoklch(58.71% 0.155 294)
XYZxyz(25.2491, 18.7837, 60.6759)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366CE #B1CE66
analogous
#667DCE #8366CE #B766CE
triadic
#8366CE #CE8366 #66CE83
tetradic
#8366CE #CE667D #B1CE66 #66CEB7
square
#8366CE #CE667D #B1CE66 #66CEB7
split-complementary
#8366CE #CEB766 #7DCE66
monochromatic
#482D8D #5F3CBB #8366CE #A994DD #CEC3EC

Accessibility & contrast

On white

4.41
#8366CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8366CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366CE#FFFFFF#000000##000000
##8366CE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D2
Deuteranopia (green-blind)
#4476CC
Tritanopia (blue-blind)
#717B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8366ce;
/* rgb */ color: rgb(131, 102, 206);
/* oklch */ color: oklch(58.7% 0.155 294.0);
Tailwind
colors: {
  custom: {
    50: '#ab92dd',
    500: '#8366ce',
    950: '#000000',
  },
}
SCSS
$custom: #8366ce;
$custom-light: #ab92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8366ce",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 256.731,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58707,
    "c": 0.15485,
    "h": 294
  },
  "luminance": 0.18784
}

Semantic roles & 50–950 ramp

primary
#8366CE
secondary
#D1DCB4
accent
#BF2794
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8366CE

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

Preview Lab → · Contrast checker → · Palette generator →

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