#8062F9#8062F9

#8062F9 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.7% C 0.215 H 287.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8062F9
RGBrgb(128, 98, 249)
HSLhsl(252, 93%, 68%)
HSVhsv(252, 61%, 98%)
CMYKcmyk(48.6%, 60.6%, 0%, 2.4%)
CIE-LABlab(52.02, 48.61, -71.73)
CIE-LCHlch(52.02, 86.65, 304.13°)
OKLaboklab(60.69% 0.064 -0.2053)
OKLCHoklch(60.69% 0.215 287.3)
XYZxyz(30.3637, 20.1627, 91.8961)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062F9 #DBF962
analogous
#628FF9 #8062F9 #CC62F9
triadic
#8062F9 #F98062 #62F980
tetradic
#8062F9 #F9628F #DBF962 #62F9CC
square
#8062F9 #F9628F #DBF962 #62F9CC
split-complementary
#8062F9 #F9CC62 #8FF962
monochromatic
#3208D8 #5027F7 #8062F9 #B09DFB #DFD8FE

Accessibility & contrast

On white

4.17
#8062F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8062F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062F9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062F9#FFFFFF#000000##000000
##8062F91.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FE
Deuteranopia (green-blind)
#0078F6
Tritanopia (blue-blind)
#5686A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8062f9;
/* rgb */ color: rgb(128, 98, 249);
/* oklch */ color: oklch(60.7% 0.215 287.3);
Tailwind
colors: {
  custom: {
    50: '#ad90fc',
    500: '#8062f9',
    950: '#000000',
  },
}
SCSS
$custom: #8062f9;
$custom-light: #ad90fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8062f9",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 251.921,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.21508,
    "h": 287.3
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#8062F9
secondary
#E9F2C4
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #8062F9

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

Preview Lab → · Contrast checker → · Palette generator →

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