#8C62FC#8C62FC

#8C62FC is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.218 H 291.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8C62FC
RGBrgb(140, 98, 252)
HSLhsl(256, 96%, 69%)
HSVhsv(256, 61%, 99%)
CMYKcmyk(44.4%, 61.1%, 0%, 1.2%)
CIE-LABlab(53.32, 51.75, -71.24)
CIE-LCHlch(53.32, 88.05, 305.99°)
OKLaboklab(61.96% 0.0791 -0.2035)
OKLCHoklch(61.96% 0.218 291.2)
XYZxyz(32.7487, 21.3380, 94.4697)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C62FC #D2FC62
analogous
#6285FC #8C62FC #D962FC
triadic
#8C62FC #FC8C62 #62FC8C
tetradic
#8C62FC #FC6285 #D2FC62 #62FCD9
square
#8C62FC #FC6285 #D2FC62 #62FCD9
split-complementary
#8C62FC #FCD962 #85FC62
monochromatic
#4004DF #6026FB #8C62FC #B89EFD #E4DAFE

Accessibility & contrast

On white

3.99
#8C62FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8C62FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C62FC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C62FC#FFFFFF#000000##000000
##8C62FC1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007CF9
Tritanopia (blue-blind)
#6B86A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c62fc;
/* rgb */ color: rgb(140, 98, 252);
/* oklch */ color: oklch(62.0% 0.218 291.2);
Tailwind
colors: {
  custom: {
    50: '#b590fe',
    500: '#8c62fc',
    950: '#000000',
  },
}
SCSS
$custom: #8c62fc;
$custom-light: #b590fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8c62fc",
  "rgb": {
    "r": 140,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 256.364,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.21838,
    "h": 291.2
  },
  "luminance": 0.21339
}

Semantic roles & 50–950 ramp

primary
#8C62FC
secondary
#E7F4C6
accent
#E600A7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8C62FC

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

Preview Lab → · Contrast checker → · Palette generator →

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