#8366CA#8366CA

#8366CA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.5% C 0.150 H 294.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8366CA
RGBrgb(131, 102, 202)
HSLhsl(257, 49%, 60%)
HSVhsv(257, 50%, 79%)
CMYKcmyk(35.1%, 49.5%, 0%, 20.8%)
CIE-LABlab(50.21, 34.00, -48.12)
CIE-LCHlch(50.21, 58.92, 305.25°)
OKLaboklab(58.46% 0.0625 -0.1359)
OKLCHoklch(58.46% 0.15 294.7)
XYZxyz(24.7694, 18.5918, 58.1492)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366CA #ADCA66
analogous
#667BCA #8366CA #B566CA
triadic
#8366CA #CA8366 #66CA83
tetradic
#8366CA #CA667B #ADCA66 #66CAB5
square
#8366CA #CA667B #ADCA66 #66CAB5
split-complementary
#8366CA #CAB566 #7BCA66
monochromatic
#482F87 #613EB4 #8366CA #A893DA #CDC1E9

Accessibility & contrast

On white

4.45
#8366CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8366CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8366CA#FFFFFF#000000##000000
##8366CA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4178CE
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#727A8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8366ca;
/* rgb */ color: rgb(131, 102, 202);
/* oklch */ color: oklch(58.5% 0.150 294.7);
Tailwind
colors: {
  custom: {
    50: '#aa92db',
    500: '#8366ca',
    950: '#000000',
  },
}
SCSS
$custom: #8366ca;
$custom-light: #aa92db;
$custom-dark: #000000;
JSON
{
  "hex": "#8366ca",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 257.4,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.14956,
    "h": 294.7
  },
  "luminance": 0.18592
}

Semantic roles & 50–950 ramp

primary
#8366CA
secondary
#CED9B2
accent
#D850B1
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8366CA

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

Preview Lab → · Contrast checker → · Palette generator →

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