#8062BD#8062BD

#8062BD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.7% C 0.138 H 297.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8062BD
RGBrgb(128, 98, 189)
HSLhsl(260, 41%, 56%)
HSVhsv(260, 48%, 74%)
CMYKcmyk(32.3%, 48.1%, 0%, 25.9%)
CIE-LABlab(48.26, 32.11, -43.75)
CIE-LCHlch(48.26, 54.27, 306.28°)
OKLaboklab(56.71% 0.0627 -0.1232)
OKLCHoklch(56.71% 0.138 297)
XYZxyz(22.4528, 16.9984, 50.2323)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062BD #9FBD62
analogous
#6272BD #8062BD #AE62BD
triadic
#8062BD #BD8062 #62BD80
tetradic
#8062BD #BD6272 #9FBD62 #62BDAE
square
#8062BD #BD6272 #9FBD62 #62BDAE
split-complementary
#8062BD #BDAE62 #72BD62
monochromatic
#473174 #61439F #8062BD #A38DCF #C6B8E1

Accessibility & contrast

On white

4.77
#8062BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8062BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8062BD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062BD#FFFFFF#000000##FFFFFF
##8062BD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473C0
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#737386
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8062bd;
/* rgb */ color: rgb(128, 98, 189);
/* oklch */ color: oklch(56.7% 0.138 297.0);
Tailwind
colors: {
  custom: {
    50: '#a78fd1',
    500: '#8062bd',
    950: '#000000',
  },
}
SCSS
$custom: #8062bd;
$custom-light: #a78fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8062bd",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 259.78,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56705,
    "c": 0.13822,
    "h": 297
  },
  "luminance": 0.16999
}

Semantic roles & 50–950 ramp

primary
#8062BD
secondary
#C4D0AB
accent
#D157A9
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8062BD

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

Preview Lab → · Contrast checker → · Palette generator →

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