#8C62EC#8C62EC

#8C62EC is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.8% C 0.199 H 293.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8C62EC
RGBrgb(140, 98, 236)
HSLhsl(258, 78%, 65%)
HSVhsv(258, 58%, 93%)
CMYKcmyk(40.7%, 58.5%, 0%, 7.5%)
CIE-LABlab(52.25, 47.46, -64.05)
CIE-LCHlch(52.25, 79.72, 306.54°)
OKLaboklab(60.84% 0.0799 -0.1824)
OKLCHoklch(60.84% 0.199 293.7)
XYZxyz(30.3192, 20.3662, 81.6742)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C62EC #C2EC62
analogous
#627DEC #8C62EC #D162EC
triadic
#8C62EC #EC8C62 #62EC8C
tetradic
#8C62EC #EC627D #C2EC62 #62ECD1
square
#8C62EC #EC627D #C2EC62 #62ECD1
split-complementary
#8C62EC #ECD162 #7DEC62
monochromatic
#4917BD #642BE5 #8C62EC #B499F3 #DCCFF9

Accessibility & contrast

On white

4.14
#8C62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8C62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C62EC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C62EC#FFFFFF#000000##000000
##8C62EC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c62ec;
/* rgb */ color: rgb(140, 98, 236);
/* oklch */ color: oklch(60.8% 0.199 293.7);
Tailwind
colors: {
  custom: {
    50: '#b390f3',
    500: '#8c62ec',
    950: '#000000',
  },
}
SCSS
$custom: #8c62ec;
$custom-light: #b390f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c62ec",
  "rgb": {
    "r": 140,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 258.261,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60841,
    "c": 0.19912,
    "h": 293.7
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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