#8362CD#8362CD

#8362CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.0% C 0.160 H 295.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8362CD
RGBrgb(131, 98, 205)
HSLhsl(259, 52%, 59%)
HSVhsv(259, 52%, 80%)
CMYKcmyk(36.1%, 52.2%, 0%, 19.6%)
CIE-LABlab(49.46, 37.12, -51.03)
CIE-LCHlch(49.46, 63.10, 306.03°)
OKLaboklab(57.96% 0.0679 -0.1444)
OKLCHoklch(57.96% 0.16 295.2)
XYZxyz(24.7444, 17.9680, 59.9103)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8362CD #ACCD62
analogous
#6277CD #8362CD #B962CD
triadic
#8362CD #CD8362 #62CD83
tetradic
#8362CD #CD6277 #ACCD62 #62CDB9
square
#8362CD #CD6277 #ACCD62 #62CDB9
split-complementary
#8362CD #CDB962 #77CD62
monochromatic
#482C89 #613AB7 #8362CD #A890DC #CCBFEB

Accessibility & contrast

On white

4.57
#8362CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8362CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8362CD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8362CD#FFFFFF#000000##000000
##8362CD1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D1
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#71778E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8362cd;
/* rgb */ color: rgb(131, 98, 205);
/* oklch */ color: oklch(58.0% 0.160 295.2);
Tailwind
colors: {
  custom: {
    50: '#ab8fdd',
    500: '#8362cd',
    950: '#000000',
  },
}
SCSS
$custom: #8362cd;
$custom-light: #ab8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8362cd",
  "rgb": {
    "r": 131,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 258.505,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.15958,
    "h": 295.2
  },
  "luminance": 0.17968
}

Semantic roles & 50–950 ramp

primary
#8362CD
secondary
#CDDAB1
accent
#DB4DAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8362CD

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

Preview Lab → · Contrast checker → · Palette generator →

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