#8C62FB#8C62FB

#8C62FB is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.9% C 0.217 H 291.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8C62FB
RGBrgb(140, 98, 251)
HSLhsl(256, 95%, 68%)
HSVhsv(256, 61%, 98%)
CMYKcmyk(44.2%, 61%, 0%, 1.6%)
CIE-LABlab(53.25, 51.48, -70.80)
CIE-LCHlch(53.25, 87.53, 306.02°)
OKLaboklab(61.89% 0.0792 -0.2022)
OKLCHoklch(61.89% 0.217 291.4)
XYZxyz(32.5906, 21.2748, 93.6374)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C62FB #D1FB62
analogous
#6284FB #8C62FB #D962FB
triadic
#8C62FB #FB8C62 #62FB8C
tetradic
#8C62FB #FB6284 #D1FB62 #62FBD9
square
#8C62FB #FB6284 #D1FB62 #62FBD9
split-complementary
#8C62FB #FBD962 #84FB62
monochromatic
#4106DD #6026F9 #8C62FB #B89EFD #E3D9FE

Accessibility & contrast

On white

4.00
#8C62FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8C62FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C62FB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C62FB#FFFFFF#000000##000000
##8C62FB1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c62fb;
/* rgb */ color: rgb(140, 98, 251);
/* oklch */ color: oklch(61.9% 0.217 291.4);
Tailwind
colors: {
  custom: {
    50: '#b590fe',
    500: '#8c62fb',
    950: '#000000',
  },
}
SCSS
$custom: #8c62fb;
$custom-light: #b590fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8c62fb",
  "rgb": {
    "r": 140,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 256.471,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.21719,
    "h": 291.4
  },
  "luminance": 0.21276
}

Semantic roles & 50–950 ramp

primary
#8C62FB
secondary
#E7F3C5
accent
#E600A6
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8C62FB

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

Preview Lab → · Contrast checker → · Palette generator →

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