#8064CB#8064CB

#8064CB is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.9% C 0.154 H 293.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8064CB
RGBrgb(128, 100, 203)
HSLhsl(256, 50%, 59%)
HSVhsv(256, 51%, 80%)
CMYKcmyk(36.9%, 50.7%, 0%, 20.4%)
CIE-LABlab(49.51, 34.67, -49.81)
CIE-LCHlch(49.51, 60.69, 304.84°)
OKLaboklab(57.9% 0.0614 -0.1409)
OKLCHoklch(57.9% 0.154 293.6)
XYZxyz(24.2359, 18.0148, 58.6886)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064CB #AFCB64
analogous
#647CCB #8064CB #B464CB
triadic
#8064CB #CB8064 #64CB80
tetradic
#8064CB #CB647C #AFCB64 #64CBB4
square
#8064CB #CB647C #AFCB64 #64CBB4
split-complementary
#8064CB #CBB464 #7CCB64
monochromatic
#462D87 #5D3DB5 #8064CB #A692DA #CBC0EA

Accessibility & contrast

On white

4.56
#8064CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8064CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8064CB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064CB#FFFFFF#000000##000000
##8064CB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CF
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#6E798E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8064cb;
/* rgb */ color: rgb(128, 100, 203);
/* oklch */ color: oklch(57.9% 0.154 293.6);
Tailwind
colors: {
  custom: {
    50: '#a891db',
    500: '#8064cb',
    950: '#000000',
  },
}
SCSS
$custom: #8064cb;
$custom-light: #a891db;
$custom-dark: #000000;
JSON
{
  "hex": "#8064cb",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 256.311,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57898,
    "c": 0.15373,
    "h": 293.6
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#8064CB
secondary
#CFD9B1
accent
#D94FB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8064CB

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

Preview Lab → · Contrast checker → · Palette generator →

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