#8368EB#8368EB

#8368EB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.9% C 0.190 H 289.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8368EB
RGBrgb(131, 104, 235)
HSLhsl(252, 77%, 66%)
HSVhsv(252, 56%, 92%)
CMYKcmyk(44.3%, 55.7%, 0%, 7.8%)
CIE-LABlab(52.65, 41.89, -62.89)
CIE-LCHlch(52.65, 75.56, 303.66°)
OKLaboklab(60.91% 0.0617 -0.1792)
OKLCHoklch(60.91% 0.19 289)
XYZxyz(29.3015, 20.7230, 81.0372)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8368EB #D0EB68
analogous
#688FEB #8368EB #C468EB
triadic
#8368EB #EB8368 #68EB83
tetradic
#8368EB #EB688F #D0EB68 #68EBC4
square
#8368EB #EB688F #D0EB68 #68EBC4
split-complementary
#8368EB #EBC468 #8FEB68
monochromatic
#3C19BF #5732E4 #8368EB #AF9EF2 #DCD4F9

Accessibility & contrast

On white

4.08
#8368EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8368EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8368EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8368EB#FFFFFF#000000##000000
##8368EB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A80EF
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#6385A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8368eb;
/* rgb */ color: rgb(131, 104, 235);
/* oklch */ color: oklch(60.9% 0.190 289.0);
Tailwind
colors: {
  custom: {
    50: '#ad94f2',
    500: '#8368eb',
    950: '#000000',
  },
}
SCSS
$custom: #8368eb;
$custom-light: #ad94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8368eb",
  "rgb": {
    "r": 131,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 252.366,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60913,
    "c": 0.18958,
    "h": 289
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#8368EB
secondary
#E4EDC2
accent
#D90DAF
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8368EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8368EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva