#8D62DC#8D62DC

#8D62DC is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.9% C 0.180 H 296.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D62DC
RGBrgb(141, 98, 220)
HSLhsl(261, 64%, 62%)
HSVhsv(261, 55%, 86%)
CMYKcmyk(35.9%, 55.5%, 0%, 13.7%)
CIE-LABlab(51.34, 43.48, -56.49)
CIE-LCHlch(51.34, 71.29, 307.58°)
OKLaboklab(59.88% 0.0812 -0.1602)
OKLCHoklch(59.88% 0.18 296.9)
XYZxyz(28.2672, 19.5650, 69.9834)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62DC #B1DC62
analogous
#6274DC #8D62DC #CA62DC
triadic
#8D62DC #DC8D62 #62DC8D
tetradic
#8D62DC #DC6274 #B1DC62 #62DCCA
square
#8D62DC #DC6274 #B1DC62 #62DCCA
split-complementary
#8D62DC #DCCA62 #74DC62
monochromatic
#4F24A0 #6930D1 #8D62DC #B194E7 #D6C6F2

Accessibility & contrast

On white

4.27
#8D62DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8D62DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62DC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62DC#FFFFFF#000000##000000
##8D62DC1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#297BE0
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#7B7B96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d62dc;
/* rgb */ color: rgb(141, 98, 220);
/* oklch */ color: oklch(59.9% 0.180 296.9);
Tailwind
colors: {
  custom: {
    50: '#b390e7',
    500: '#8d62dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d62dc;
$custom-light: #b390e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62dc",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 261.148,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.17958,
    "h": 296.9
  },
  "luminance": 0.19565
}

Semantic roles & 50–950 ramp

primary
#8D62DC
secondary
#D3E3B7
accent
#CB1A8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8D62DC

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

Preview Lab → · Contrast checker → · Palette generator →

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