#8F62EC#8F62EC

#8F62EC is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.199 H 294.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8F62EC
RGBrgb(143, 98, 236)
HSLhsl(260, 78%, 65%)
HSVhsv(260, 58%, 93%)
CMYKcmyk(39.4%, 58.5%, 0%, 7.5%)
CIE-LABlab(52.54, 48.11, -63.56)
CIE-LCHlch(52.54, 79.71, 307.12°)
OKLaboklab(61.12% 0.0837 -0.1809)
OKLCHoklch(61.12% 0.199 294.8)
XYZxyz(30.8317, 20.6305, 81.6983)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F62EC #BFEC62
analogous
#627AEC #8F62EC #D462EC
triadic
#8F62EC #EC8F62 #62EC8F
tetradic
#8F62EC #EC627A #BFEC62 #62ECD4
square
#8F62EC #EC627A #BFEC62 #62ECD4
split-complementary
#8F62EC #ECD462 #7AEC62
monochromatic
#4D17BD #682BE5 #8F62EC #B699F3 #DDCFF9

Accessibility & contrast

On white

4.10
#8F62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8F62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F62EC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F62EC#FFFFFF#000000##000000
##8F62EC1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#207BE9
Tritanopia (blue-blind)
#77809E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f62ec;
/* rgb */ color: rgb(143, 98, 236);
/* oklch */ color: oklch(61.1% 0.199 294.8);
Tailwind
colors: {
  custom: {
    50: '#b590f3',
    500: '#8f62ec',
    950: '#000000',
  },
}
SCSS
$custom: #8f62ec;
$custom-light: #b590f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f62ec",
  "rgb": {
    "r": 143,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 259.565,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61125,
    "c": 0.1993,
    "h": 294.8
  },
  "luminance": 0.20631
}

Semantic roles & 50–950 ramp

primary
#8F62EC
secondary
#DDECBE
accent
#DB0B97
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8F62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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