#8D62DE#8D62DE

#8D62DE is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.0% C 0.182 H 296.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D62DE
RGBrgb(141, 98, 222)
HSLhsl(261, 65%, 63%)
HSVhsv(261, 56%, 87%)
CMYKcmyk(36.5%, 55.9%, 0%, 12.9%)
CIE-LABlab(51.46, 44.00, -57.43)
CIE-LCHlch(51.46, 72.35, 307.46°)
OKLaboklab(60.01% 0.0813 -0.1629)
OKLCHoklch(60.01% 0.182 296.5)
XYZxyz(28.5336, 19.6715, 71.3867)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62DE #B3DE62
analogous
#6275DE #8D62DE #CB62DE
triadic
#8D62DE #DE8D62 #62DE8D
tetradic
#8D62DE #DE6275 #B3DE62 #62DECB
square
#8D62DE #DE6275 #B3DE62 #62DECB
split-complementary
#8D62DE #DECB62 #75DE62
monochromatic
#4F22A3 #682FD3 #8D62DE #B295E9 #D6C7F3

Accessibility & contrast

On white

4.26
#8D62DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8D62DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62DE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62DE#FFFFFF#000000##000000
##8D62DE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#267BE2
Deuteranopia (green-blind)
#3679DB
Tritanopia (blue-blind)
#7A7C97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d62de;
/* rgb */ color: rgb(141, 98, 222);
/* oklch */ color: oklch(60.0% 0.182 296.5);
Tailwind
colors: {
  custom: {
    50: '#b390e9',
    500: '#8d62de',
    950: '#000000',
  },
}
SCSS
$custom: #8d62de;
$custom-light: #b390e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62de",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 260.806,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60005,
    "c": 0.18204,
    "h": 296.5
  },
  "luminance": 0.19672
}

Semantic roles & 50–950 ramp

primary
#8D62DE
secondary
#D5E4B7
accent
#CD188E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8D62DE

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

Preview Lab → · Contrast checker → · Palette generator →

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