#8D62E8#8D62E8

#8D62E8 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.194 H 294.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8D62E8
RGBrgb(141, 98, 232)
HSLhsl(259, 74%, 65%)
HSVhsv(259, 58%, 91%)
CMYKcmyk(39.2%, 57.8%, 0%, 9%)
CIE-LABlab(52.09, 46.62, -62.06)
CIE-LCHlch(52.09, 77.62, 306.91°)
OKLaboklab(60.67% 0.0813 -0.1765)
OKLCHoklch(60.67% 0.194 294.7)
XYZxyz(29.9138, 20.2236, 78.6558)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62E8 #BDE862
analogous
#627AE8 #8D62E8 #D062E8
triadic
#8D62E8 #E88D62 #62E88D
tetradic
#8D62E8 #E8627A #BDE862 #62E8D0
square
#8D62E8 #E8627A #BDE862 #62E8D0
split-complementary
#8D62E8 #E8D062 #7AE862
monochromatic
#4C1BB5 #662DE0 #8D62E8 #B497F0 #DBCDF8

Accessibility & contrast

On white

4.16
#8D62E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8D62E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62E8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62E8#FFFFFF#000000##000000
##8D62E81.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7DEC
Deuteranopia (green-blind)
#267AE5
Tritanopia (blue-blind)
#767F9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d62e8;
/* rgb */ color: rgb(141, 98, 232);
/* oklch */ color: oklch(60.7% 0.194 294.7);
Tailwind
colors: {
  custom: {
    50: '#b490f0',
    500: '#8d62e8',
    950: '#000000',
  },
}
SCSS
$custom: #8d62e8;
$custom-light: #b490f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62e8",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 259.254,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60665,
    "c": 0.19431,
    "h": 294.7
  },
  "luminance": 0.20224
}

Semantic roles & 50–950 ramp

primary
#8D62E8
secondary
#DBEABC
accent
#D70F97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #8D62E8

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

Preview Lab → · Contrast checker → · Palette generator →

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