#8062CF#8062CF

#8062CF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.8% C 0.162 H 293.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8062CF
RGBrgb(128, 98, 207)
HSLhsl(257, 53%, 60%)
HSVhsv(257, 53%, 81%)
CMYKcmyk(38.2%, 52.7%, 0%, 18.8%)
CIE-LABlab(49.29, 36.92, -52.46)
CIE-LCHlch(49.29, 64.15, 305.14°)
OKLaboklab(57.81% 0.0642 -0.1487)
OKLCHoklch(57.81% 0.162 293.4)
XYZxyz(24.5293, 17.8290, 61.1684)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062CF #B1CF62
analogous
#627ACF #8062CF #B762CF
triadic
#8062CF #CF8062 #62CF80
tetradic
#8062CF #CF627A #B1CF62 #62CFB7
square
#8062CF #CF627A #B1CF62 #62CFB7
split-complementary
#8062CF #CFB762 #7ACF62
monochromatic
#452B8C #5D39BB #8062CF #A691DD #CCC0EC

Accessibility & contrast

On white

4.60
#8062CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8062CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8062CF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062CF#FFFFFF#000000##FFFFFF
##8062CF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3376D3
Deuteranopia (green-blind)
#3A73CD
Tritanopia (blue-blind)
#6C788F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8062cf;
/* rgb */ color: rgb(128, 98, 207);
/* oklch */ color: oklch(57.8% 0.162 293.4);
Tailwind
colors: {
  custom: {
    50: '#a98fde',
    500: '#8062cf',
    950: '#000000',
  },
}
SCSS
$custom: #8062cf;
$custom-light: #a98fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8062cf",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 256.514,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57806,
    "c": 0.16197,
    "h": 293.4
  },
  "luminance": 0.1783
}

Semantic roles & 50–950 ramp

primary
#8062CF
secondary
#D0DBB1
accent
#DD4BB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8062CF

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

Preview Lab → · Contrast checker → · Palette generator →

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