#8367D5#8367D5

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

Color values

HEX#8367D5
RGBrgb(131, 103, 213)
HSLhsl(255, 57%, 62%)
HSVhsv(255, 52%, 84%)
CMYKcmyk(38.5%, 51.6%, 0%, 16.5%)
CIE-LABlab(51.07, 36.38, -53.01)
CIE-LCHlch(51.07, 64.30, 304.46°)
OKLaboklab(59.31% 0.0621 -0.1502)
OKLCHoklch(59.31% 0.163 292.5)
XYZxyz(26.2174, 19.3292, 65.2875)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8367D5 #B9D567
analogous
#6782D5 #8367D5 #BA67D5
triadic
#8367D5 #D58367 #67D583
tetradic
#8367D5 #D56782 #B9D567 #67D5BA
square
#8367D5 #D56782 #B9D567 #67D5BA
split-complementary
#8367D5 #D5BA67 #82D567
monochromatic
#462A98 #5C37C8 #8367D5 #AA97E2 #D1C7EF

Accessibility & contrast

On white

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

On black

4.87
#8367D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8367D5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8367D5#FFFFFF#000000##000000
##8367D51.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD9
Deuteranopia (green-blind)
#3E78D2
Tritanopia (blue-blind)
#6E7D94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8367d5;
/* rgb */ color: rgb(131, 103, 213);
/* oklch */ color: oklch(59.3% 0.163 292.5);
Tailwind
colors: {
  custom: {
    50: '#ab93e2',
    500: '#8367d5',
    950: '#000000',
  },
}
SCSS
$custom: #8367d5;
$custom-light: #ab93e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8367d5",
  "rgb": {
    "r": 131,
    "g": 103,
    "b": 213
  },
  "hsl": {
    "h": 255.273,
    "s": 56.701,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59313,
    "c": 0.16255,
    "h": 292.5
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#8367D5
secondary
#D6E0B8
accent
#C4219B
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8367D5

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

Preview Lab → · Contrast checker → · Palette generator →

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