#8B62EC#8B62EC

#8B62EC is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.199 H 293.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8B62EC
RGBrgb(139, 98, 236)
HSLhsl(258, 78%, 65%)
HSVhsv(258, 58%, 93%)
CMYKcmyk(41.1%, 58.5%, 0%, 7.5%)
CIE-LABlab(52.15, 47.25, -64.21)
CIE-LCHlch(52.15, 79.72, 306.34°)
OKLaboklab(60.75% 0.0786 -0.1829)
OKLCHoklch(60.75% 0.199 293.3)
XYZxyz(30.1514, 20.2797, 81.6664)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B62EC #C3EC62
analogous
#627EEC #8B62EC #D062EC
triadic
#8B62EC #EC8B62 #62EC8B
tetradic
#8B62EC #EC627E #C3EC62 #62ECD0
square
#8B62EC #EC627E #C3EC62 #62ECD0
split-complementary
#8B62EC #ECD062 #7EEC62
monochromatic
#4817BD #632BE5 #8B62EC #B399F3 #DCCFF9

Accessibility & contrast

On white

4.15
#8B62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8B62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B62EC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B62EC#FFFFFF#000000##000000
##8B62EC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#177AE9
Tritanopia (blue-blind)
#71809E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b62ec;
/* rgb */ color: rgb(139, 98, 236);
/* oklch */ color: oklch(60.7% 0.199 293.3);
Tailwind
colors: {
  custom: {
    50: '#b390f3',
    500: '#8b62ec',
    950: '#000000',
  },
}
SCSS
$custom: #8b62ec;
$custom-light: #b390f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b62ec",
  "rgb": {
    "r": 139,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 257.826,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60747,
    "c": 0.19907,
    "h": 293.3
  },
  "luminance": 0.2028
}

Semantic roles & 50–950 ramp

primary
#8B62EC
secondary
#DEECBE
accent
#DB0B9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8B62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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