#8062BF#8062BF

#8062BF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.8% C 0.141 H 296.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8062BF
RGBrgb(128, 98, 191)
HSLhsl(259, 42%, 57%)
HSVhsv(259, 49%, 75%)
CMYKcmyk(33%, 48.7%, 0%, 25.1%)
CIE-LABlab(48.37, 32.64, -44.73)
CIE-LCHlch(48.37, 55.37, 306.12°)
OKLaboklab(56.82% 0.0629 -0.126)
OKLCHoklch(56.82% 0.141 296.5)
XYZxyz(22.6714, 17.0858, 51.3836)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062BF #A1BF62
analogous
#6273BF #8062BF #AF62BF
triadic
#8062BF #BF8062 #62BF80
tetradic
#8062BF #BF6273 #A1BF62 #62BFAF
square
#8062BF #BF6273 #A1BF62 #62BFAF
split-complementary
#8062BF #BFAF62 #73BF62
monochromatic
#473076 #6142A2 #8062BF #A38DD1 #C6B9E2

Accessibility & contrast

On white

4.75
#8062BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8062BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8062BF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062BF#FFFFFF#000000##FFFFFF
##8062BF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#727487
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8062bf;
/* rgb */ color: rgb(128, 98, 191);
/* oklch */ color: oklch(56.8% 0.141 296.5);
Tailwind
colors: {
  custom: {
    50: '#a88fd3',
    500: '#8062bf',
    950: '#000000',
  },
}
SCSS
$custom: #8062bf;
$custom-light: #a88fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8062bf",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 259.355,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56823,
    "c": 0.14089,
    "h": 296.5
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#8062BF
secondary
#C5D1AB
accent
#D256AA
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #8062BF

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

Preview Lab → · Contrast checker → · Palette generator →

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