#8064BF#8064BF

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

Color values

HEX#8064BF
RGBrgb(128, 100, 191)
HSLhsl(258, 42%, 57%)
HSVhsv(258, 48%, 75%)
CMYKcmyk(33%, 47.6%, 0%, 25.1%)
CIE-LABlab(48.84, 31.46, -43.98)
CIE-LCHlch(48.84, 54.08, 305.58°)
OKLaboklab(57.18% 0.0602 -0.1238)
OKLCHoklch(57.18% 0.138 295.9)
XYZxyz(22.8609, 17.4648, 51.4467)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064BF #A3BF64
analogous
#6475BF #8064BF #AE64BF
triadic
#8064BF #BF8064 #64BF80
tetradic
#8064BF #BF6475 #A3BF64 #64BFAE
square
#8064BF #BF6475 #A3BF64 #64BFAE
split-complementary
#8064BF #BFAE64 #75BF64
monochromatic
#473177 #6143A3 #8064BF #A38FD1 #C7BBE3

Accessibility & contrast

On white

4.67
#8064BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8064BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8064BF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064BF#FFFFFF#000000##FFFFFF
##8064BF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4575C2
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#727588
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8064bf;
/* rgb */ color: rgb(128, 100, 191);
/* oklch */ color: oklch(57.2% 0.138 295.9);
Tailwind
colors: {
  custom: {
    50: '#a890d3',
    500: '#8064bf',
    950: '#000000',
  },
}
SCSS
$custom: #8064bf;
$custom-light: #a890d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8064bf",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 258.462,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57176,
    "c": 0.13772,
    "h": 295.9
  },
  "luminance": 0.17465
}

Semantic roles & 50–950 ramp

primary
#8064BF
secondary
#C7D2AD
accent
#D156AC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #8064BF

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

Preview Lab → · Contrast checker → · Palette generator →

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