#8062FC#8062FC

#8062FC is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.9% C 0.219 H 287.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8062FC
RGBrgb(128, 98, 252)
HSLhsl(252, 96%, 69%)
HSVhsv(252, 61%, 99%)
CMYKcmyk(49.2%, 61.1%, 0%, 1.2%)
CIE-LABlab(52.23, 49.46, -73.05)
CIE-LCHlch(52.23, 88.22, 304.10°)
OKLaboklab(60.91% 0.0638 -0.2092)
OKLCHoklch(60.91% 0.219 287)
XYZxyz(30.8353, 20.3514, 94.3800)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062FC #DEFC62
analogous
#6291FC #8062FC #CD62FC
triadic
#8062FC #FC8062 #62FC80
tetradic
#8062FC #FC6291 #DEFC62 #62FCCD
square
#8062FC #FC6291 #DEFC62 #62FCCD
split-complementary
#8062FC #FCCD62 #91FC62
monochromatic
#2F04DF #4F26FB #8062FC #B19EFD #E1DAFE

Accessibility & contrast

On white

4.14
#8062FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8062FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062FC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062FC#FFFFFF#000000##000000
##8062FC1.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)
#0080FF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#5487A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8062fc;
/* rgb */ color: rgb(128, 98, 252);
/* oklch */ color: oklch(60.9% 0.219 287.0);
Tailwind
colors: {
  custom: {
    50: '#ae90fe',
    500: '#8062fc',
    950: '#000000',
  },
}
SCSS
$custom: #8062fc;
$custom-light: #ae90fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8062fc",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 251.688,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.21874,
    "h": 287
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#8062FC
secondary
#EBF4C6
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #8062FC

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

Preview Lab → · Contrast checker → · Palette generator →

#8062FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva