#8368EC#8368EC

#8368EC is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.0% C 0.191 H 288.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8368EC
RGBrgb(131, 104, 236)
HSLhsl(252, 78%, 67%)
HSVhsv(252, 56%, 93%)
CMYKcmyk(44.5%, 55.9%, 0%, 7.5%)
CIE-LABlab(52.71, 42.17, -63.35)
CIE-LCHlch(52.71, 76.10, 303.65°)
OKLaboklab(60.98% 0.0617 -0.1806)
OKLCHoklch(60.98% 0.191 288.9)
XYZxyz(29.4464, 20.7809, 81.8002)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8368EC #D1EC68
analogous
#688FEC #8368EC #C568EC
triadic
#8368EC #EC8368 #68EC83
tetradic
#8368EC #EC688F #D1EC68 #68ECC5
square
#8368EC #EC688F #D1EC68 #68ECC5
split-complementary
#8368EC #ECC568 #8FEC68
monochromatic
#3B18C1 #5632E5 #8368EC #B09EF3 #DCD5FA

Accessibility & contrast

On white

4.07
#8368EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8368EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8368EC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8368EC#FFFFFF#000000##000000
##8368EC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F0
Deuteranopia (green-blind)
#1C7BE9
Tritanopia (blue-blind)
#6385A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8368ec;
/* rgb */ color: rgb(131, 104, 236);
/* oklch */ color: oklch(61.0% 0.191 288.9);
Tailwind
colors: {
  custom: {
    50: '#ad94f3',
    500: '#8368ec',
    950: '#000000',
  },
}
SCSS
$custom: #8368ec;
$custom-light: #ad94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8368ec",
  "rgb": {
    "r": 131,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 252.273,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60981,
    "c": 0.19084,
    "h": 288.9
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#8368EC
secondary
#E4EDC3
accent
#DA0CB0
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8368EC

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

Preview Lab → · Contrast checker → · Palette generator →

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