#8B62EA#8B62EA

#8B62EA is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.6% C 0.197 H 293.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8B62EA
RGBrgb(139, 98, 234)
HSLhsl(258, 76%, 65%)
HSVhsv(258, 58%, 92%)
CMYKcmyk(40.6%, 58.1%, 0%, 8.2%)
CIE-LABlab(52.02, 46.71, -63.30)
CIE-LCHlch(52.02, 78.67, 306.43°)
OKLaboklab(60.61% 0.0787 -0.1802)
OKLCHoklch(60.61% 0.197 293.6)
XYZxyz(29.8624, 20.1641, 80.1446)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B62EA #C1EA62
analogous
#627DEA #8B62EA #CF62EA
triadic
#8B62EA #EA8B62 #62EA8B
tetradic
#8B62EA #EA627D #C1EA62 #62EACF
square
#8B62EA #EA627D #C1EA62 #62EACF
split-complementary
#8B62EA #EACF62 #7DEA62
monochromatic
#4919B9 #632CE3 #8B62EA #B398F1 #DBCEF8

Accessibility & contrast

On white

4.17
#8B62EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8B62EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B62EA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B62EA#FFFFFF#000000##000000
##8B62EA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEE
Deuteranopia (green-blind)
#1D7AE7
Tritanopia (blue-blind)
#72809D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b62ea;
/* rgb */ color: rgb(139, 98, 234);
/* oklch */ color: oklch(60.6% 0.197 293.6);
Tailwind
colors: {
  custom: {
    50: '#b290f1',
    500: '#8b62ea',
    950: '#000000',
  },
}
SCSS
$custom: #8b62ea;
$custom-light: #b290f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b62ea",
  "rgb": {
    "r": 139,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 258.088,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60611,
    "c": 0.19663,
    "h": 293.6
  },
  "luminance": 0.20165
}

Semantic roles & 50–950 ramp

primary
#8B62EA
secondary
#DDEBBD
accent
#D90D9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8B62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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