#8062F7#8062F7

#8062F7 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.5% C 0.213 H 287.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8062F7
RGBrgb(128, 98, 247)
HSLhsl(252, 90%, 68%)
HSVhsv(252, 60%, 97%)
CMYKcmyk(48.2%, 60.3%, 0%, 3.1%)
CIE-LABlab(51.88, 48.04, -70.84)
CIE-LCHlch(51.88, 85.60, 304.14°)
OKLaboklab(60.54% 0.0641 -0.2027)
OKLCHoklch(60.54% 0.213 287.5)
XYZxyz(30.0534, 20.0386, 90.2620)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062F7 #D9F762
analogous
#628EF7 #8062F7 #CB62F7
triadic
#8062F7 #F78062 #62F780
tetradic
#8062F7 #F7628E #D9F762 #62F7CB
square
#8062F7 #F7628E #D9F762 #62F7CB
split-complementary
#8062F7 #F7CB62 #8EF762
monochromatic
#330BD4 #5128F4 #8062F7 #AF9CFA #DED6FD

Accessibility & contrast

On white

4.19
#8062F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8062F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062F7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062F7#FFFFFF#000000##000000
##8062F71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#5785A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8062f7;
/* rgb */ color: rgb(128, 98, 247);
/* oklch */ color: oklch(60.5% 0.213 287.5);
Tailwind
colors: {
  custom: {
    50: '#ad90fb',
    500: '#8062f7',
    950: '#000000',
  },
}
SCSS
$custom: #8062f7;
$custom-light: #ad90fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8062f7",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 252.081,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60542,
    "c": 0.21262,
    "h": 287.5
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#8062F7
secondary
#E8F2C3
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #8062F7

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

Preview Lab → · Contrast checker → · Palette generator →

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