#8064BC#8064BC

#8064BC is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.0% C 0.134 H 296.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8064BC
RGBrgb(128, 100, 188)
HSLhsl(259, 40%, 56%)
HSVhsv(259, 47%, 74%)
CMYKcmyk(31.9%, 46.8%, 0%, 26.3%)
CIE-LABlab(48.68, 30.67, -42.50)
CIE-LCHlch(48.68, 52.42, 305.82°)
OKLaboklab(57% 0.0599 -0.1195)
OKLCHoklch(57% 0.134 296.6)
XYZxyz(22.5341, 17.3341, 49.7258)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064BC #A0BC64
analogous
#6474BC #8064BC #AC64BC
triadic
#8064BC #BC8064 #64BC80
tetradic
#8064BC #BC6474 #A0BC64 #64BCAC
square
#8064BC #BC6474 #A0BC64 #64BCAC
split-complementary
#8064BC #BCAC64 #74BC64
monochromatic
#473274 #61449E #8064BC #A38FCE #C6B9E1

Accessibility & contrast

On white

4.70
#8064BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8064BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8064BC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064BC#FFFFFF#000000##FFFFFF
##8064BC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#4D73BA
Tritanopia (blue-blind)
#737487
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8064bc;
/* rgb */ color: rgb(128, 100, 188);
/* oklch */ color: oklch(57.0% 0.134 296.6);
Tailwind
colors: {
  custom: {
    50: '#a790d0',
    500: '#8064bc',
    950: '#000000',
  },
}
SCSS
$custom: #8064bc;
$custom-light: #a790d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8064bc",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 259.091,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57002,
    "c": 0.13369,
    "h": 296.6
  },
  "luminance": 0.17334
}

Semantic roles & 50–950 ramp

primary
#8064BC
secondary
#C4D0AC
accent
#D058AA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8064BC

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

Preview Lab → · Contrast checker → · Palette generator →

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