#8062FD#8062FD

#8062FD is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.0% C 0.220 H 286.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8062FD
RGBrgb(128, 98, 253)
HSLhsl(252, 97%, 69%)
HSVhsv(252, 61%, 99%)
CMYKcmyk(49.4%, 61.3%, 0%, 0.8%)
CIE-LABlab(52.30, 49.74, -73.49)
CIE-LCHlch(52.30, 88.74, 304.09°)
OKLaboklab(60.98% 0.0637 -0.2105)
OKLCHoklch(60.98% 0.22 286.8)
XYZxyz(30.9942, 20.4149, 95.2168)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062FD #DFFD62
analogous
#6292FD #8062FD #CE62FD
triadic
#8062FD #FD8062 #62FD80
tetradic
#8062FD #FD6292 #DFFD62 #62FDCE
square
#8062FD #FD6292 #DFFD62 #62FDCE
split-complementary
#8062FD #FDCE62 #92FD62
monochromatic
#2E03E2 #4F26FC #8062FD #B19EFE #E2DBFF

Accessibility & contrast

On white

4.13
#8062FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8062FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062FD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062FD#FFFFFF#000000##000000
##8062FD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0078FA
Tritanopia (blue-blind)
#5387A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8062fd;
/* rgb */ color: rgb(128, 98, 253);
/* oklch */ color: oklch(61.0% 0.220 286.8);
Tailwind
colors: {
  custom: {
    50: '#ae90ff',
    500: '#8062fd',
    950: '#000000',
  },
}
SCSS
$custom: #8062fd;
$custom-light: #ae90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8062fd",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 251.613,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60983,
    "c": 0.21995,
    "h": 286.8
  },
  "luminance": 0.20416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8062FD

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

Preview Lab → · Contrast checker → · Palette generator →

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