#8062EA#8062EA

#8062EA is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.6% C 0.197 H 289.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8062EA
RGBrgb(128, 98, 234)
HSLhsl(253, 76%, 65%)
HSVhsv(253, 58%, 92%)
CMYKcmyk(45.3%, 58.1%, 0%, 8.2%)
CIE-LABlab(50.99, 44.38, -65.01)
CIE-LCHlch(50.99, 78.72, 304.32°)
OKLaboklab(59.61% 0.0646 -0.1856)
OKLCHoklch(59.61% 0.197 289.2)
XYZxyz(28.1168, 19.2640, 80.0628)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062EA #CCEA62
analogous
#6288EA #8062EA #C462EA
triadic
#8062EA #EA8062 #62EA80
tetradic
#8062EA #EA6288 #CCEA62 #62EAC4
square
#8062EA #EA6288 #CCEA62 #62EAC4
split-complementary
#8062EA #EAC462 #88EA62
monochromatic
#3C19B9 #542CE3 #8062EA #AC98F1 #D7CEF8

Accessibility & contrast

On white

4.33
#8062EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8062EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062EA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062EA#FFFFFF#000000##000000
##8062EA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#5F819D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8062ea;
/* rgb */ color: rgb(128, 98, 234);
/* oklch */ color: oklch(59.6% 0.197 289.2);
Tailwind
colors: {
  custom: {
    50: '#ac90f2',
    500: '#8062ea',
    950: '#000000',
  },
}
SCSS
$custom: #8062ea;
$custom-light: #ac90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8062ea",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 253.235,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59612,
    "c": 0.19651,
    "h": 289.2
  },
  "luminance": 0.19265
}

Semantic roles & 50–950 ramp

primary
#8062EA
secondary
#E1EBBD
accent
#D90DAC
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8062EA

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

Preview Lab → · Contrast checker → · Palette generator →

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