#8367DC#8367DC

#8367DC is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.8% C 0.172 H 291.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8367DC
RGBrgb(131, 103, 220)
HSLhsl(254, 63%, 63%)
HSVhsv(254, 53%, 86%)
CMYKcmyk(40.5%, 53.2%, 0%, 13.7%)
CIE-LABlab(51.49, 38.30, -56.31)
CIE-LCHlch(51.49, 68.10, 304.22°)
OKLaboklab(59.76% 0.0625 -0.1599)
OKLCHoklch(59.76% 0.172 291.3)
XYZxyz(27.1251, 19.6923, 70.0681)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8367DC #C0DC67
analogous
#6785DC #8367DC #BD67DC
triadic
#8367DC #DC8367 #67DC83
tetradic
#8367DC #DC6785 #C0DC67 #67DCBD
square
#8367DC #DC6785 #C0DC67 #67DCBD
split-complementary
#8367DC #DCBD67 #85DC67
monochromatic
#4426A3 #5A35D1 #8367DC #AC99E7 #D4CAF3

Accessibility & contrast

On white

4.25
#8367DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8367DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8367DC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8367DC#FFFFFF#000000##000000
##8367DC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE0
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#6B8098
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8367dc;
/* rgb */ color: rgb(131, 103, 220);
/* oklch */ color: oklch(59.8% 0.172 291.3);
Tailwind
colors: {
  custom: {
    50: '#ac93e7',
    500: '#8367dc',
    950: '#000000',
  },
}
SCSS
$custom: #8367dc;
$custom-light: #ac93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8367dc",
  "rgb": {
    "r": 131,
    "g": 103,
    "b": 220
  },
  "hsl": {
    "h": 254.359,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59757,
    "c": 0.17169,
    "h": 291.3
  },
  "luminance": 0.19693
}

Semantic roles & 50–950 ramp

primary
#8367DC
secondary
#DAE4BB
accent
#CA1BA0
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8367DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8367DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva