#8D62EB#8D62EB

#8D62EB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.198 H 294.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8D62EB
RGBrgb(141, 98, 235)
HSLhsl(259, 77%, 65%)
HSVhsv(259, 58%, 92%)
CMYKcmyk(40%, 58.3%, 0%, 7.8%)
CIE-LABlab(52.28, 47.41, -63.43)
CIE-LCHlch(52.28, 79.19, 306.78°)
OKLaboklab(60.87% 0.0812 -0.1805)
OKLCHoklch(60.87% 0.198 294.2)
XYZxyz(30.3436, 20.3955, 80.9192)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62EB #C0EB62
analogous
#627BEB #8D62EB #D162EB
triadic
#8D62EB #EB8D62 #62EB8D
tetradic
#8D62EB #EB627B #C0EB62 #62EBD1
square
#8D62EB #EB627B #C0EB62 #62EBD1
split-complementary
#8D62EB #EBD162 #7BEB62
monochromatic
#4B18BB #662CE4 #8D62EB #B498F2 #DCCFF9

Accessibility & contrast

On white

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

On black

5.08
#8D62EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62EB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62EB#FFFFFF#000000##000000
##8D62EB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#1F7AE8
Tritanopia (blue-blind)
#75809D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d62eb;
/* rgb */ color: rgb(141, 98, 235);
/* oklch */ color: oklch(60.9% 0.198 294.2);
Tailwind
colors: {
  custom: {
    50: '#b490f2',
    500: '#8d62eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d62eb;
$custom-light: #b490f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62eb",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 258.832,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60867,
    "c": 0.19796,
    "h": 294.2
  },
  "luminance": 0.20396
}

Semantic roles & 50–950 ramp

primary
#8D62EB
secondary
#DDEBBD
accent
#DA0C99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #8D62EB

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

Preview Lab → · Contrast checker → · Palette generator →

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