#8B62EB#8B62EB

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

Color values

HEX#8B62EB
RGBrgb(139, 98, 235)
HSLhsl(258, 77%, 65%)
HSVhsv(258, 58%, 92%)
CMYKcmyk(40.9%, 58.3%, 0%, 7.8%)
CIE-LABlab(52.09, 46.98, -63.76)
CIE-LCHlch(52.09, 79.20, 306.38°)
OKLaboklab(60.68% 0.0786 -0.1816)
OKLCHoklch(60.68% 0.198 293.4)
XYZxyz(30.0065, 20.2217, 80.9034)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B62EB #C2EB62
analogous
#627EEB #8B62EB #CF62EB
triadic
#8B62EB #EB8B62 #62EB8B
tetradic
#8B62EB #EB627E #C2EB62 #62EBCF
square
#8B62EB #EB627E #C2EB62 #62EBCF
split-complementary
#8B62EB #EBCF62 #7EEB62
monochromatic
#4918BB #632CE4 #8B62EB #B398F2 #DBCFF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B62EB#FFFFFF#000000##000000
##8B62EB1.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)
#007EEF
Deuteranopia (green-blind)
#1A7AE8
Tritanopia (blue-blind)
#71809D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b62eb;
/* rgb */ color: rgb(139, 98, 235);
/* oklch */ color: oklch(60.7% 0.198 293.4);
Tailwind
colors: {
  custom: {
    50: '#b390f2',
    500: '#8b62eb',
    950: '#000000',
  },
}
SCSS
$custom: #8b62eb;
$custom-light: #b390f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b62eb",
  "rgb": {
    "r": 139,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 257.956,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60679,
    "c": 0.19786,
    "h": 293.4
  },
  "luminance": 0.20222
}

Semantic roles & 50–950 ramp

primary
#8B62EB
secondary
#DEEBBD
accent
#DA0C9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8B62EB

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

Preview Lab → · Contrast checker → · Palette generator →

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