#8062FB#8062FB

#8062FB is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.8% C 0.218 H 287.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8062FB
RGBrgb(128, 98, 251)
HSLhsl(252, 95%, 68%)
HSVhsv(252, 61%, 98%)
CMYKcmyk(49%, 61%, 0%, 1.6%)
CIE-LABlab(52.16, 49.18, -72.61)
CIE-LCHlch(52.16, 87.70, 304.11°)
OKLaboklab(60.84% 0.0639 -0.2079)
OKLCHoklch(60.84% 0.218 287.1)
XYZxyz(30.6773, 20.2882, 93.5477)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062FB #DDFB62
analogous
#6290FB #8062FB #CD62FB
triadic
#8062FB #FB8062 #62FB80
tetradic
#8062FB #FB6290 #DDFB62 #62FBCD
square
#8062FB #FB6290 #DDFB62 #62FBCD
split-complementary
#8062FB #FBCD62 #90FB62
monochromatic
#3006DD #5026F9 #8062FB #B09EFD #E1D9FE

Accessibility & contrast

On white

4.15
#8062FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8062FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062FB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062FB#FFFFFF#000000##000000
##8062FB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0078F8
Tritanopia (blue-blind)
#5486A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8062fb;
/* rgb */ color: rgb(128, 98, 251);
/* oklch */ color: oklch(60.8% 0.218 287.1);
Tailwind
colors: {
  custom: {
    50: '#ae90fe',
    500: '#8062fb',
    950: '#000000',
  },
}
SCSS
$custom: #8062fb;
$custom-light: #ae90fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8062fb",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 251.765,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60836,
    "c": 0.21753,
    "h": 287.1
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#8062FB
secondary
#EAF3C5
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #8062FB

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

Preview Lab → · Contrast checker → · Palette generator →

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