#8362CA#8362CA

#8362CA is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.8% C 0.156 H 295.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8362CA
RGBrgb(131, 98, 202)
HSLhsl(259, 50%, 59%)
HSVhsv(259, 51%, 79%)
CMYKcmyk(35.1%, 51.5%, 0%, 20.8%)
CIE-LABlab(49.28, 36.32, -49.59)
CIE-LCHlch(49.28, 61.47, 306.22°)
OKLaboklab(57.78% 0.0677 -0.1402)
OKLCHoklch(57.78% 0.156 295.8)
XYZxyz(24.3857, 17.8245, 58.0214)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8362CA #A9CA62
analogous
#6275CA #8362CA #B762CA
triadic
#8362CA #CA8362 #62CA83
tetradic
#8362CA #CA6275 #A9CA62 #62CAB7
square
#8362CA #CA6275 #A9CA62 #62CAB7
split-complementary
#8362CA #CAB762 #75CA62
monochromatic
#492D85 #623CB3 #8362CA #A790D9 #CBBEE9

Accessibility & contrast

On white

4.60
#8362CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8362CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8362CA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8362CA#FFFFFF#000000##FFFFFF
##8362CA1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CE
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#73778D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8362ca;
/* rgb */ color: rgb(131, 98, 202);
/* oklch */ color: oklch(57.8% 0.156 295.8);
Tailwind
colors: {
  custom: {
    50: '#aa8fdb',
    500: '#8362ca',
    950: '#000000',
  },
}
SCSS
$custom: #8362ca;
$custom-light: #aa8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8362ca",
  "rgb": {
    "r": 131,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 259.038,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57775,
    "c": 0.15569,
    "h": 295.8
  },
  "luminance": 0.17825
}

Semantic roles & 50–950 ramp

primary
#8362CA
secondary
#CBD8AF
accent
#D94FAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8362CA

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

Preview Lab → · Contrast checker → · Palette generator →

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