#8367D4#8367D4

#8367D4 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.3% C 0.161 H 292.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8367D4
RGBrgb(131, 103, 212)
HSLhsl(255, 56%, 62%)
HSVhsv(255, 51%, 83%)
CMYKcmyk(38.2%, 51.4%, 0%, 16.9%)
CIE-LABlab(51.01, 36.11, -52.54)
CIE-LCHlch(51.01, 63.75, 304.50°)
OKLaboklab(59.25% 0.0621 -0.1488)
OKLCHoklch(59.25% 0.161 292.6)
XYZxyz(26.0908, 19.2786, 64.6211)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8367D4 #B8D467
analogous
#6782D4 #8367D4 #BA67D4
triadic
#8367D4 #D48367 #67D483
tetradic
#8367D4 #D46782 #B8D467 #67D4BA
square
#8367D4 #D46782 #B8D467 #67D4BA
split-complementary
#8367D4 #D4BA67 #82D467
monochromatic
#462A96 #5C38C6 #8367D4 #AA97E1 #D1C6EF

Accessibility & contrast

On white

4.32
#8367D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8367D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8367D4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8367D4#FFFFFF#000000##000000
##8367D41.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7BD8
Deuteranopia (green-blind)
#3F77D1
Tritanopia (blue-blind)
#6E7D94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8367d4;
/* rgb */ color: rgb(131, 103, 212);
/* oklch */ color: oklch(59.3% 0.161 292.6);
Tailwind
colors: {
  custom: {
    50: '#ab93e2',
    500: '#8367d4',
    950: '#000000',
  },
}
SCSS
$custom: #8367d4;
$custom-light: #ab93e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8367d4",
  "rgb": {
    "r": 131,
    "g": 103,
    "b": 212
  },
  "hsl": {
    "h": 255.413,
    "s": 55.897,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.16125,
    "h": 292.6
  },
  "luminance": 0.19279
}

Semantic roles & 50–950 ramp

primary
#8367D4
secondary
#D5E0B7
accent
#C3229A
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8367D4

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

Preview Lab → · Contrast checker → · Palette generator →

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