#8362EB#8362EB

#8362EB is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.9% C 0.198 H 290.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8362EB
RGBrgb(131, 98, 235)
HSLhsl(254, 77%, 65%)
HSVhsv(254, 58%, 92%)
CMYKcmyk(44.3%, 58.3%, 0%, 7.8%)
CIE-LABlab(51.33, 45.29, -65.01)
CIE-LCHlch(51.33, 79.23, 304.86°)
OKLaboklab(59.95% 0.0684 -0.1855)
OKLCHoklch(59.95% 0.198 290.2)
XYZxyz(28.7189, 19.5578, 80.8430)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8362EB #CAEB62
analogous
#6285EB #8362EB #C862EB
triadic
#8362EB #EB8362 #62EB83
tetradic
#8362EB #EB6285 #CAEB62 #62EBC8
square
#8362EB #EB6285 #CAEB62 #62EBC8
split-complementary
#8362EB #EBC862 #85EB62
monochromatic
#3F18BB #582CE4 #8362EB #AE98F2 #D9CFF9

Accessibility & contrast

On white

4.28
#8362EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8362EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8362EB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8362EB#FFFFFF#000000##000000
##8362EB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#64819D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8362eb;
/* rgb */ color: rgb(131, 98, 235);
/* oklch */ color: oklch(59.9% 0.198 290.2);
Tailwind
colors: {
  custom: {
    50: '#ae90f2',
    500: '#8362eb',
    950: '#000000',
  },
}
SCSS
$custom: #8362eb;
$custom-light: #ae90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8362eb",
  "rgb": {
    "r": 131,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 254.453,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59948,
    "c": 0.1977,
    "h": 290.2
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#8362EB
secondary
#E0EBBD
accent
#DA0CA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8362EB

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

Preview Lab → · Contrast checker → · Palette generator →

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