#8062BE#8062BE

#8062BE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.8% C 0.140 H 296.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8062BE
RGBrgb(128, 98, 190)
HSLhsl(260, 41%, 56%)
HSVhsv(260, 48%, 75%)
CMYKcmyk(32.6%, 48.4%, 0%, 25.5%)
CIE-LABlab(48.31, 32.38, -44.24)
CIE-LCHlch(48.31, 54.82, 306.20°)
OKLaboklab(56.76% 0.0628 -0.1246)
OKLCHoklch(56.76% 0.14 296.8)
XYZxyz(22.5617, 17.0420, 50.8060)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062BE #A0BE62
analogous
#6272BE #8062BE #AE62BE
triadic
#8062BE #BE8062 #62BE80
tetradic
#8062BE #BE6272 #A0BE62 #62BEAE
square
#8062BE #BE6272 #A0BE62 #62BEAE
split-complementary
#8062BE #BEAE62 #72BE62
monochromatic
#473075 #6142A0 #8062BE #A38DD0 #C6B9E2

Accessibility & contrast

On white

4.76
#8062BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8062BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8062BE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062BE#FFFFFF#000000##FFFFFF
##8062BE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4373C1
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#727387
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8062be;
/* rgb */ color: rgb(128, 98, 190);
/* oklch */ color: oklch(56.8% 0.140 296.8);
Tailwind
colors: {
  custom: {
    50: '#a88fd2',
    500: '#8062be',
    950: '#000000',
  },
}
SCSS
$custom: #8062be;
$custom-light: #a88fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8062be",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 259.565,
    "s": 41.441,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.13955,
    "h": 296.8
  },
  "luminance": 0.17042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8062BE

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

Preview Lab → · Contrast checker → · Palette generator →

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