#8E62DC#8E62DC

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

Color values

HEX#8E62DC
RGBrgb(142, 98, 220)
HSLhsl(262, 64%, 62%)
HSVhsv(262, 55%, 86%)
CMYKcmyk(35.5%, 55.5%, 0%, 13.7%)
CIE-LABlab(51.44, 43.72, -56.33)
CIE-LCHlch(51.44, 71.30, 307.82°)
OKLaboklab(59.97% 0.0825 -0.1596)
OKLCHoklch(59.97% 0.18 297.3)
XYZxyz(28.4380, 19.6531, 69.9914)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E62DC #B0DC62
analogous
#6273DC #8E62DC #CB62DC
triadic
#8E62DC #DC8E62 #62DC8E
tetradic
#8E62DC #DC6273 #B0DC62 #62DCCB
square
#8E62DC #DC6273 #B0DC62 #62DCCB
split-complementary
#8E62DC #DCCB62 #73DC62
monochromatic
#5024A0 #6A30D1 #8E62DC #B294E7 #D6C6F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E62DC#FFFFFF#000000##000000
##8E62DC1.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)
#2A7BE0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#7C7B96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e62dc;
/* rgb */ color: rgb(142, 98, 220);
/* oklch */ color: oklch(60.0% 0.180 297.3);
Tailwind
colors: {
  custom: {
    50: '#b390e7',
    500: '#8e62dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e62dc;
$custom-light: #b390e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e62dc",
  "rgb": {
    "r": 142,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 261.639,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.17969,
    "h": 297.3
  },
  "luminance": 0.19653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E62DC

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

Preview Lab → · Contrast checker → · Palette generator →

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