#8062DE#8062DE

#8062DE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.8% C 0.181 H 290.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8062DE
RGBrgb(128, 98, 222)
HSLhsl(255, 65%, 63%)
HSVhsv(255, 56%, 87%)
CMYKcmyk(42.3%, 55.9%, 0%, 12.9%)
CIE-LABlab(50.21, 41.04, -59.51)
CIE-LCHlch(50.21, 72.29, 304.59°)
OKLaboklab(58.79% 0.0647 -0.1694)
OKLCHoklch(58.79% 0.181 290.9)
XYZxyz(26.4509, 18.5976, 71.2891)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062DE #C0DE62
analogous
#6282DE #8062DE #BE62DE
triadic
#8062DE #DE8062 #62DE80
tetradic
#8062DE #DE6282 #C0DE62 #62DEBE
square
#8062DE #DE6282 #C0DE62 #62DEBE
split-complementary
#8062DE #DEBE62 #82DE62
monochromatic
#4222A3 #572FD3 #8062DE #A995E9 #D2C7F3

Accessibility & contrast

On white

4.45
#8062DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8062DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062DE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062DE#FFFFFF#000000##000000
##8062DE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7AE2
Deuteranopia (green-blind)
#2475DB
Tritanopia (blue-blind)
#657D97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8062de;
/* rgb */ color: rgb(128, 98, 222);
/* oklch */ color: oklch(58.8% 0.181 290.9);
Tailwind
colors: {
  custom: {
    50: '#aa8fe9',
    500: '#8062de',
    950: '#000000',
  },
}
SCSS
$custom: #8062de;
$custom-light: #aa8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#8062de",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 254.516,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.18133,
    "h": 290.9
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#8062DE
secondary
#D9E4B7
accent
#CD18A1
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #8062DE

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

Preview Lab → · Contrast checker → · Palette generator →

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