#8362CC#8362CC

#8362CC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.9% C 0.158 H 295.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8362CC
RGBrgb(131, 98, 204)
HSLhsl(259, 51%, 59%)
HSVhsv(259, 52%, 80%)
CMYKcmyk(35.8%, 52%, 0%, 20%)
CIE-LABlab(49.40, 36.85, -50.55)
CIE-LCHlch(49.40, 62.56, 306.09°)
OKLaboklab(57.9% 0.0678 -0.143)
OKLCHoklch(57.9% 0.158 295.4)
XYZxyz(24.6241, 17.9199, 59.2766)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8362CC #ABCC62
analogous
#6276CC #8362CC #B862CC
triadic
#8362CC #CC8362 #62CC83
tetradic
#8362CC #CC6276 #ABCC62 #62CCB8
square
#8362CC #CC6276 #ABCC62 #62CCB8
split-complementary
#8362CC #CCB862 #76CC62
monochromatic
#492C88 #613BB6 #8362CC #A790DB #CCBEEA

Accessibility & contrast

On white

4.58
#8362CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8362CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8362CC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8362CC#FFFFFF#000000##000000
##8362CC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876D0
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#72778E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8362cc;
/* rgb */ color: rgb(131, 98, 204);
/* oklch */ color: oklch(57.9% 0.158 295.4);
Tailwind
colors: {
  custom: {
    50: '#ab8fdc',
    500: '#8362cc',
    950: '#000000',
  },
}
SCSS
$custom: #8362cc;
$custom-light: #ab8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8362cc",
  "rgb": {
    "r": 131,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 258.679,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57899,
    "c": 0.15829,
    "h": 295.4
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

primary
#8362CC
secondary
#CDDAB0
accent
#DA4DAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8362CC

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

Preview Lab → · Contrast checker → · Palette generator →

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