#8062E8#8062E8

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

Color values

HEX#8062E8
RGBrgb(128, 98, 232)
HSLhsl(253, 74%, 65%)
HSVhsv(253, 58%, 91%)
CMYKcmyk(44.8%, 57.8%, 0%, 9%)
CIE-LABlab(50.86, 43.82, -64.10)
CIE-LCHlch(50.86, 77.65, 304.36°)
OKLaboklab(59.47% 0.0647 -0.1829)
OKLCHoklch(59.47% 0.194 289.5)
XYZxyz(27.8311, 19.1497, 78.5581)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062E8 #CAE862
analogous
#6287E8 #8062E8 #C362E8
triadic
#8062E8 #E88062 #62E880
tetradic
#8062E8 #E86287 #CAE862 #62E8C3
square
#8062E8 #E86287 #CAE862 #62E8C3
split-complementary
#8062E8 #E8C362 #87E862
monochromatic
#3D1BB5 #552DE0 #8062E8 #AB97F0 #D6CDF8

Accessibility & contrast

On white

4.35
#8062E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8062E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062E8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062E8#FFFFFF#000000##000000
##8062E81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#0176E5
Tritanopia (blue-blind)
#60809C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8062e8;
/* rgb */ color: rgb(128, 98, 232);
/* oklch */ color: oklch(59.5% 0.194 289.5);
Tailwind
colors: {
  custom: {
    50: '#ab90f0',
    500: '#8062e8',
    950: '#000000',
  },
}
SCSS
$custom: #8062e8;
$custom-light: #ab90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8062e8",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 253.433,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.19399,
    "h": 289.5
  },
  "luminance": 0.19151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8062E8

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

Preview Lab → · Contrast checker → · Palette generator →

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