#8064C0#8064C0

#8064C0 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.2% C 0.139 H 295.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8064C0
RGBrgb(128, 100, 192)
HSLhsl(258, 42%, 57%)
HSVhsv(258, 48%, 75%)
CMYKcmyk(33.3%, 47.9%, 0%, 24.7%)
CIE-LABlab(48.90, 31.73, -44.47)
CIE-LCHlch(48.90, 54.63, 305.51°)
OKLaboklab(57.24% 0.0604 -0.1253)
OKLCHoklch(57.24% 0.139 295.7)
XYZxyz(22.9713, 17.5090, 52.0283)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064C0 #A4C064
analogous
#6476C0 #8064C0 #AE64C0
triadic
#8064C0 #C08064 #64C080
tetradic
#8064C0 #C06476 #A4C064 #64C0AE
square
#8064C0 #C06476 #A4C064 #64C0AE
split-complementary
#8064C0 #C0AE64 #76C064
monochromatic
#473179 #6043A4 #8064C0 #A490D2 #C7BBE3

Accessibility & contrast

On white

4.66
#8064C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8064C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8064C0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064C0#FFFFFF#000000##FFFFFF
##8064C01.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4575C3
Deuteranopia (green-blind)
#4A73BE
Tritanopia (blue-blind)
#727589
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8064c0;
/* rgb */ color: rgb(128, 100, 192);
/* oklch */ color: oklch(57.2% 0.139 295.7);
Tailwind
colors: {
  custom: {
    50: '#a890d3',
    500: '#8064c0',
    950: '#000000',
  },
}
SCSS
$custom: #8064c0;
$custom-light: #a890d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8064c0",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 192
  },
  "hsl": {
    "h": 258.261,
    "s": 42.202,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57235,
    "c": 0.13907,
    "h": 295.7
  },
  "luminance": 0.17509
}

Semantic roles & 50–950 ramp

primary
#8064C0
secondary
#C7D3AD
accent
#D256AC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #8064C0

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

Preview Lab → · Contrast checker → · Palette generator →

#8064C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva