#8062E9#8062E9

#8062E9 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.5% C 0.195 H 289.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8062E9
RGBrgb(128, 98, 233)
HSLhsl(253, 75%, 65%)
HSVhsv(253, 58%, 91%)
CMYKcmyk(45.1%, 57.9%, 0%, 8.6%)
CIE-LABlab(50.93, 44.10, -64.56)
CIE-LCHlch(50.93, 78.18, 304.34°)
OKLaboklab(59.54% 0.0646 -0.1842)
OKLCHoklch(59.54% 0.195 289.3)
XYZxyz(27.9736, 19.2067, 79.3083)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062E9 #CBE962
analogous
#6288E9 #8062E9 #C362E9
triadic
#8062E9 #E98062 #62E980
tetradic
#8062E9 #E96288 #CBE962 #62E9C3
square
#8062E9 #E96288 #CBE962 #62E9C3
split-complementary
#8062E9 #E9C362 #88E962
monochromatic
#3D1AB7 #552CE1 #8062E9 #AB98F1 #D7CDF8

Accessibility & contrast

On white

4.34
#8062E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8062E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062E9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062E9#FFFFFF#000000##000000
##8062E91.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#60809C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8062e9;
/* rgb */ color: rgb(128, 98, 233);
/* oklch */ color: oklch(59.5% 0.195 289.3);
Tailwind
colors: {
  custom: {
    50: '#ab90f1',
    500: '#8062e9',
    950: '#000000',
  },
}
SCSS
$custom: #8062e9;
$custom-light: #ab90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8062e9",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 253.333,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59542,
    "c": 0.19525,
    "h": 289.3
  },
  "luminance": 0.19208
}

Semantic roles & 50–950 ramp

primary
#8062E9
secondary
#E0EABC
accent
#D80EAB
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8062E9

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

Preview Lab → · Contrast checker → · Palette generator →

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