#8D62D2#8D62D2

#8D62D2 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.2% C 0.167 H 298.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D62D2
RGBrgb(141, 98, 210)
HSLhsl(263, 55%, 60%)
HSVhsv(263, 53%, 82%)
CMYKcmyk(32.9%, 53.3%, 0%, 17.6%)
CIE-LABlab(50.75, 40.91, -51.77)
CIE-LCHlch(50.75, 65.98, 308.32°)
OKLaboklab(59.25% 0.0809 -0.1463)
OKLCHoklch(59.25% 0.167 298.9)
XYZxyz(26.9822, 19.0510, 63.2159)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62D2 #A7D262
analogous
#626FD2 #8D62D2 #C562D2
triadic
#8D62D2 #D28D62 #62D28D
tetradic
#8D62D2 #D2626F #A7D262 #62D2C5
square
#8D62D2 #D2626F #A7D262 #62D2C5
split-complementary
#8D62D2 #D2C562 #6FD262
monochromatic
#512990 #6C37C0 #8D62D2 #B092E0 #D2C1ED

Accessibility & contrast

On white

4.37
#8D62D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8D62D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62D2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62D2#FFFFFF#000000##000000
##8D62D21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3679D6
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#7E7891
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d62d2;
/* rgb */ color: rgb(141, 98, 210);
/* oklch */ color: oklch(59.2% 0.167 298.9);
Tailwind
colors: {
  custom: {
    50: '#b290e0',
    500: '#8d62d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d62d2;
$custom-light: #b290e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62d2",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 263.036,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59245,
    "c": 0.16716,
    "h": 298.9
  },
  "luminance": 0.19051
}

Semantic roles & 50–950 ramp

primary
#8D62D2
secondary
#CDDDB3
accent
#C32385
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D62D2

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

Preview Lab → · Contrast checker → · Palette generator →

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