#8368EF#8368EF

#8368EF is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.2% C 0.195 H 288.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8368EF
RGBrgb(131, 104, 239)
HSLhsl(252, 81%, 67%)
HSVhsv(252, 56%, 94%)
CMYKcmyk(45.2%, 56.5%, 0%, 6.3%)
CIE-LABlab(52.90, 43.01, -64.72)
CIE-LCHlch(52.90, 77.70, 303.61°)
OKLaboklab(61.19% 0.0617 -0.1846)
OKLCHoklch(61.19% 0.195 288.5)
XYZxyz(29.8859, 20.9568, 84.1150)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8368EF #D4EF68
analogous
#6891EF #8368EF #C768EF
triadic
#8368EF #EF8368 #68EF83
tetradic
#8368EF #EF6891 #D4EF68 #68EFC7
square
#8368EF #EF6891 #D4EF68 #68EFC7
split-complementary
#8368EF #EFC768 #91EF68
monochromatic
#3915C7 #5631E9 #8368EF #B09FF5 #DED7FB

Accessibility & contrast

On white

4.04
#8368EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8368EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8368EF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8368EF#FFFFFF#000000##000000
##8368EF1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B81F4
Deuteranopia (green-blind)
#117BEC
Tritanopia (blue-blind)
#6186A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8368ef;
/* rgb */ color: rgb(131, 104, 239);
/* oklch */ color: oklch(61.2% 0.195 288.5);
Tailwind
colors: {
  custom: {
    50: '#ae94f5',
    500: '#8368ef',
    950: '#000000',
  },
}
SCSS
$custom: #8368ef;
$custom-light: #ae94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8368ef",
  "rgb": {
    "r": 131,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 252,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61185,
    "c": 0.19465,
    "h": 288.5
  },
  "luminance": 0.20958
}

Semantic roles & 50–950 ramp

primary
#8368EF
secondary
#E6EFC4
accent
#DD08B3
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8368EF

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

Preview Lab → · Contrast checker → · Palette generator →

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