#8062BC#8062BC

#8062BC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.6% C 0.137 H 297.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8062BC
RGBrgb(128, 98, 188)
HSLhsl(260, 40%, 56%)
HSVhsv(260, 48%, 74%)
CMYKcmyk(31.9%, 47.9%, 0%, 26.3%)
CIE-LABlab(48.20, 31.85, -43.26)
CIE-LCHlch(48.20, 53.72, 306.37°)
OKLaboklab(56.65% 0.0626 -0.1217)
OKLCHoklch(56.65% 0.137 297.2)
XYZxyz(22.3447, 16.9551, 49.6626)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062BC #9EBC62
analogous
#6271BC #8062BC #AD62BC
triadic
#8062BC #BC8062 #62BC80
tetradic
#8062BC #BC6271 #9EBC62 #62BCAD
square
#8062BC #BC6271 #9EBC62 #62BCAD
split-complementary
#8062BC #BCAD62 #71BC62
monochromatic
#473173 #61439E #8062BC #A38DCE #C5B8E1

Accessibility & contrast

On white

4.78
#8062BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8062BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8062BC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062BC#FFFFFF#000000##FFFFFF
##8062BC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#4B71BA
Tritanopia (blue-blind)
#737386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8062bc;
/* rgb */ color: rgb(128, 98, 188);
/* oklch */ color: oklch(56.6% 0.137 297.2);
Tailwind
colors: {
  custom: {
    50: '#a78fd0',
    500: '#8062bc',
    950: '#000000',
  },
}
SCSS
$custom: #8062bc;
$custom-light: #a78fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8062bc",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 260,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56646,
    "c": 0.13689,
    "h": 297.2
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#8062BC
secondary
#C3CFAA
accent
#D058A8
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8062BC

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

Preview Lab → · Contrast checker → · Palette generator →

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