#8062FE#8062FE

#8062FE is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.1% C 0.221 H 286.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8062FE
RGBrgb(128, 98, 254)
HSLhsl(252, 99%, 69%)
HSVhsv(252, 61%, 100%)
CMYKcmyk(49.6%, 61.4%, 0%, 0.4%)
CIE-LABlab(52.37, 50.03, -73.93)
CIE-LCHlch(52.37, 89.27, 304.08°)
OKLaboklab(61.06% 0.0637 -0.2118)
OKLCHoklch(61.06% 0.221 286.7)
XYZxyz(31.1539, 20.4788, 96.0580)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062FE #E0FE62
analogous
#6292FE #8062FE #CE62FE
triadic
#8062FE #FE8062 #62FE80
tetradic
#8062FE #FE6292 #E0FE62 #62FECE
square
#8062FE #FE6292 #E0FE62 #62FECE
split-complementary
#8062FE #FECE62 #92FE62
monochromatic
#2D01E4 #4F25FE #8062FE #B19FFE #E2DCFF

Accessibility & contrast

On white

4.12
#8062FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8062FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062FE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062FE#FFFFFF#000000##000000
##8062FE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#5287A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8062fe;
/* rgb */ color: rgb(128, 98, 254);
/* oklch */ color: oklch(61.1% 0.221 286.7);
Tailwind
colors: {
  custom: {
    50: '#ae90ff',
    500: '#8062fe',
    950: '#000000',
  },
}
SCSS
$custom: #8062fe;
$custom-light: #ae90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8062fe",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 251.538,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.22117,
    "h": 286.7
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8062FE

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

Preview Lab → · Contrast checker → · Palette generator →

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