#8366CF#8366CF

#8366CF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.8% C 0.156 H 293.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8366CF
RGBrgb(131, 102, 207)
HSLhsl(257, 52%, 61%)
HSVhsv(257, 51%, 81%)
CMYKcmyk(36.7%, 50.7%, 0%, 18.8%)
CIE-LABlab(50.49, 35.34, -50.52)
CIE-LCHlch(50.49, 61.65, 304.97°)
OKLaboklab(58.77% 0.063 -0.1429)
OKLCHoklch(58.77% 0.156 293.8)
XYZxyz(25.3710, 18.8325, 61.3177)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366CF #B2CF66
analogous
#667DCF #8366CF #B766CF
triadic
#8366CF #CF8366 #66CF83
tetradic
#8366CF #CF667D #B2CF66 #66CFB7
square
#8366CF #CF667D #B2CF66 #66CFB7
split-complementary
#8366CF #CFB766 #7DCF66
monochromatic
#472D8E #5F3BBD #8366CF #A995DE #CFC3EC

Accessibility & contrast

On white

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

On black

4.77
#8366CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366CF#FFFFFF#000000##000000
##8366CF1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D3
Deuteranopia (green-blind)
#4376CD
Tritanopia (blue-blind)
#707B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8366cf;
/* rgb */ color: rgb(131, 102, 207);
/* oklch */ color: oklch(58.8% 0.156 293.8);
Tailwind
colors: {
  custom: {
    50: '#ab92de',
    500: '#8366cf',
    950: '#000000',
  },
}
SCSS
$custom: #8366cf;
$custom-light: #ab92de;
$custom-dark: #000000;
JSON
{
  "hex": "#8366cf",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 256.571,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58768,
    "c": 0.15617,
    "h": 293.8
  },
  "luminance": 0.18833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8366CF

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

Preview Lab → · Contrast checker → · Palette generator →

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