#8D62EC#8D62EC

#8D62EC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.9% C 0.199 H 294.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8D62EC
RGBrgb(141, 98, 236)
HSLhsl(259, 78%, 65%)
HSVhsv(259, 58%, 93%)
CMYKcmyk(40.3%, 58.5%, 0%, 7.5%)
CIE-LABlab(52.35, 47.67, -63.89)
CIE-LCHlch(52.35, 79.72, 306.73°)
OKLaboklab(60.93% 0.0812 -0.1819)
OKLCHoklch(60.93% 0.199 294)
XYZxyz(30.4885, 20.4535, 81.6822)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62EC #C1EC62
analogous
#627CEC #8D62EC #D262EC
triadic
#8D62EC #EC8D62 #62EC8D
tetradic
#8D62EC #EC627C #C1EC62 #62ECD2
square
#8D62EC #EC627C #C1EC62 #62ECD2
split-complementary
#8D62EC #ECD262 #7CEC62
monochromatic
#4B17BD #652BE5 #8D62EC #B599F3 #DCCFF9

Accessibility & contrast

On white

4.13
#8D62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8D62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62EC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62EC#FFFFFF#000000##000000
##8D62EC1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#1C7BE9
Tritanopia (blue-blind)
#74809E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d62ec;
/* rgb */ color: rgb(141, 98, 236);
/* oklch */ color: oklch(60.9% 0.199 294.0);
Tailwind
colors: {
  custom: {
    50: '#b490f3',
    500: '#8d62ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d62ec;
$custom-light: #b490f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62ec",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 258.696,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60935,
    "c": 0.19918,
    "h": 294
  },
  "luminance": 0.20454
}

Semantic roles & 50–950 ramp

primary
#8D62EC
secondary
#DEECBE
accent
#DB0B9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #8D62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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