#8D62E4#8D62E4

#8D62E4 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.4% C 0.189 H 295.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8D62E4
RGBrgb(141, 98, 228)
HSLhsl(260, 71%, 64%)
HSVhsv(260, 57%, 89%)
CMYKcmyk(38.2%, 57%, 0%, 10.6%)
CIE-LABlab(51.84, 45.57, -60.22)
CIE-LCHlch(51.84, 75.51, 307.12°)
OKLaboklab(60.4% 0.0813 -0.1711)
OKLCHoklch(60.4% 0.189 295.4)
XYZxyz(29.3521, 19.9989, 75.6975)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62E4 #B9E462
analogous
#6278E4 #8D62E4 #CE62E4
triadic
#8D62E4 #E48D62 #62E48D
tetradic
#8D62E4 #E46278 #B9E462 #62E4CE
square
#8D62E4 #E46278 #B9E462 #62E4CE
split-complementary
#8D62E4 #E4CE62 #78E462
monochromatic
#4D1EAE #672EDB #8D62E4 #B396ED #D9CAF6

Accessibility & contrast

On white

4.20
#8D62E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8D62E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62E4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62E4#FFFFFF#000000##000000
##8D62E41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7DE8
Deuteranopia (green-blind)
#2D7AE1
Tritanopia (blue-blind)
#787E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d62e4;
/* rgb */ color: rgb(141, 98, 228);
/* oklch */ color: oklch(60.4% 0.189 295.4);
Tailwind
colors: {
  custom: {
    50: '#b390ed',
    500: '#8d62e4',
    950: '#000000',
  },
}
SCSS
$custom: #8d62e4;
$custom-light: #b390ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62e4",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 259.846,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60398,
    "c": 0.18942,
    "h": 295.4
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#8D62E4
secondary
#D9E8BA
accent
#D31393
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8D62E4

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

Preview Lab → · Contrast checker → · Palette generator →

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