#8368E2#8368E2

#8368E2 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.3% C 0.178 H 290.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8368E2
RGBrgb(131, 104, 226)
HSLhsl(253, 68%, 65%)
HSVhsv(253, 54%, 89%)
CMYKcmyk(42%, 54%, 0%, 11.4%)
CIE-LABlab(52.08, 39.38, -58.75)
CIE-LCHlch(52.08, 70.72, 303.83°)
OKLaboklab(60.32% 0.0615 -0.1671)
OKLCHoklch(60.32% 0.178 290.2)
XYZxyz(28.0341, 20.2160, 74.3618)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8368E2 #C7E268
analogous
#688AE2 #8368E2 #C068E2
triadic
#8368E2 #E28368 #68E283
tetradic
#8368E2 #E2688A #C7E268 #68E2C0
square
#8368E2 #E2688A #C7E268 #68E2C0
split-complementary
#8368E2 #E2C068 #8AE268
monochromatic
#4121AE #5935D8 #8368E2 #AD9BEC #D7CFF6

Accessibility & contrast

On white

4.16
#8368E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8368E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8368E2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8368E2#FFFFFF#000000##000000
##8368E21.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7EE6
Deuteranopia (green-blind)
#3079DF
Tritanopia (blue-blind)
#68829B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8368e2;
/* rgb */ color: rgb(131, 104, 226);
/* oklch */ color: oklch(60.3% 0.178 290.2);
Tailwind
colors: {
  custom: {
    50: '#ac94ec',
    500: '#8368e2',
    950: '#000000',
  },
}
SCSS
$custom: #8368e2;
$custom-light: #ac94ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8368e2",
  "rgb": {
    "r": 131,
    "g": 104,
    "b": 226
  },
  "hsl": {
    "h": 253.279,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60315,
    "c": 0.17803,
    "h": 290.2
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#8368E2
secondary
#DFE8BE
accent
#D016A7
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8368E2

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

Preview Lab → · Contrast checker → · Palette generator →

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