#8D62EA#8D62EA

#8D62EA is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.197 H 294.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8D62EA
RGBrgb(141, 98, 234)
HSLhsl(259, 76%, 65%)
HSVhsv(259, 58%, 92%)
CMYKcmyk(39.7%, 58.1%, 0%, 8.2%)
CIE-LABlab(52.22, 47.15, -62.98)
CIE-LCHlch(52.22, 78.67, 306.82°)
OKLaboklab(60.8% 0.0812 -0.1792)
OKLCHoklch(60.8% 0.197 294.4)
XYZxyz(30.1995, 20.3379, 80.1604)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62EA #BFEA62
analogous
#627BEA #8D62EA #D162EA
triadic
#8D62EA #EA8D62 #62EA8D
tetradic
#8D62EA #EA627B #BFEA62 #62EAD1
square
#8D62EA #EA627B #BFEA62 #62EAD1
split-complementary
#8D62EA #EAD162 #7BEA62
monochromatic
#4B19B9 #662CE3 #8D62EA #B498F1 #DBCEF8

Accessibility & contrast

On white

4.14
#8D62EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8D62EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62EA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62EA#FFFFFF#000000##000000
##8D62EA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#027EEE
Deuteranopia (green-blind)
#217AE7
Tritanopia (blue-blind)
#75809D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d62ea;
/* rgb */ color: rgb(141, 98, 234);
/* oklch */ color: oklch(60.8% 0.197 294.4);
Tailwind
colors: {
  custom: {
    50: '#b490f1',
    500: '#8d62ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d62ea;
$custom-light: #b490f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62ea",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 258.971,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.19674,
    "h": 294.4
  },
  "luminance": 0.20339
}

Semantic roles & 50–950 ramp

primary
#8D62EA
secondary
#DCEBBD
accent
#D90D98
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #8D62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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