#8D62CE#8D62CE

#8D62CE is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.0% C 0.162 H 299.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8D62CE
RGBrgb(141, 98, 206)
HSLhsl(264, 52%, 60%)
HSVhsv(264, 52%, 81%)
CMYKcmyk(31.6%, 52.4%, 0%, 19.2%)
CIE-LABlab(50.52, 39.89, -49.85)
CIE-LCHlch(50.52, 63.85, 308.67°)
OKLaboklab(59% 0.0807 -0.1407)
OKLCHoklch(59% 0.162 299.8)
XYZxyz(26.4901, 18.8541, 60.6242)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62CE #A3CE62
analogous
#626DCE #8D62CE #C362CE
triadic
#8D62CE #CE8D62 #62CE8D
tetradic
#8D62CE #CE626D #A3CE62 #62CEC3
square
#8D62CE #CE626D #A3CE62 #62CEC3
split-complementary
#8D62CE #CEC362 #6DCE62
monochromatic
#512B8A #6C3AB9 #8D62CE #AF91DD #D1BFEB

Accessibility & contrast

On white

4.40
#8D62CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8D62CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62CE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62CE#FFFFFF#000000##000000
##8D62CE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D2
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#80778F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d62ce;
/* rgb */ color: rgb(141, 98, 206);
/* oklch */ color: oklch(59.0% 0.162 299.8);
Tailwind
colors: {
  custom: {
    50: '#b190dd',
    500: '#8d62ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d62ce;
$custom-light: #b190dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62ce",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 263.889,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59,
    "c": 0.16216,
    "h": 299.8
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#8D62CE
secondary
#CADBB1
accent
#DC4CA3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D62CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8D62CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva