#8367F2#8367F2

#8367F2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.200 H 288.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8367F2
RGBrgb(131, 103, 242)
HSLhsl(252, 84%, 68%)
HSVhsv(252, 57%, 95%)
CMYKcmyk(45.9%, 57.4%, 0%, 5.1%)
CIE-LABlab(52.88, 44.42, -66.43)
CIE-LCHlch(52.88, 79.91, 303.77°)
OKLaboklab(61.23% 0.0628 -0.1897)
OKLCHoklch(61.23% 0.2 288.3)
XYZxyz(30.2327, 20.9354, 86.4352)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8367F2 #D6F267
analogous
#6791F2 #8367F2 #C867F2
triadic
#8367F2 #F28367 #67F283
tetradic
#8367F2 #F26791 #D6F267 #67F2C8
square
#8367F2 #F26791 #D6F267 #67F2C8
split-complementary
#8367F2 #F2C867 #91F267
monochromatic
#3712CD #552FED #8367F2 #B19FF7 #DFD8FC

Accessibility & contrast

On white

4.05
#8367F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8367F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8367F2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8367F2#FFFFFF#000000##000000
##8367F21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#6086A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8367f2;
/* rgb */ color: rgb(131, 103, 242);
/* oklch */ color: oklch(61.2% 0.200 288.3);
Tailwind
colors: {
  custom: {
    50: '#ae93f7',
    500: '#8367f2',
    950: '#000000',
  },
}
SCSS
$custom: #8367f2;
$custom-light: #ae93f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8367f2",
  "rgb": {
    "r": 131,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 252.086,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6123,
    "c": 0.19977,
    "h": 288.3
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#8367F2
secondary
#E7F0C5
accent
#E105B4
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8367F2

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

Preview Lab → · Contrast checker → · Palette generator →

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