#8062DF#8062DF

#8062DF is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.183 H 290.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8062DF
RGBrgb(128, 98, 223)
HSLhsl(254, 66%, 63%)
HSVhsv(254, 56%, 87%)
CMYKcmyk(42.6%, 56.1%, 0%, 12.5%)
CIE-LABlab(50.28, 41.32, -59.97)
CIE-LCHlch(50.28, 72.82, 304.57°)
OKLaboklab(58.86% 0.0647 -0.1708)
OKLCHoklch(58.86% 0.183 290.8)
XYZxyz(26.5854, 18.6514, 71.9971)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062DF #C1DF62
analogous
#6282DF #8062DF #BE62DF
triadic
#8062DF #DF8062 #62DF80
tetradic
#8062DF #DF6282 #C1DF62 #62DFBE
square
#8062DF #DF6282 #C1DF62 #62DFBE
split-complementary
#8062DF #DFBE62 #82DF62
monochromatic
#4122A5 #572FD5 #8062DF #A995E9 #D2C8F4

Accessibility & contrast

On white

4.44
#8062DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8062DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062DF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062DF#FFFFFF#000000##000000
##8062DF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7AE3
Deuteranopia (green-blind)
#2275DC
Tritanopia (blue-blind)
#657D97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8062df;
/* rgb */ color: rgb(128, 98, 223);
/* oklch */ color: oklch(58.9% 0.183 290.8);
Tailwind
colors: {
  custom: {
    50: '#aa8fea',
    500: '#8062df',
    950: '#000000',
  },
}
SCSS
$custom: #8062df;
$custom-light: #aa8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#8062df",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 254.4,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.1826,
    "h": 290.8
  },
  "luminance": 0.18652
}

Semantic roles & 50–950 ramp

primary
#8062DF
secondary
#DAE5B8
accent
#CE17A2
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8062DF

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

Preview Lab → · Contrast checker → · Palette generator →

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