#8064CD#8064CD

#8064CD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.0% C 0.156 H 293.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8064CD
RGBrgb(128, 100, 205)
HSLhsl(256, 51%, 60%)
HSVhsv(256, 51%, 80%)
CMYKcmyk(37.6%, 51.2%, 0%, 19.6%)
CIE-LABlab(49.63, 35.22, -50.77)
CIE-LCHlch(49.63, 61.79, 304.75°)
OKLaboklab(58.02% 0.0616 -0.1437)
OKLCHoklch(58.02% 0.156 293.2)
XYZxyz(24.4758, 18.1108, 59.9519)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064CD #B1CD64
analogous
#647CCD #8064CD #B564CD
triadic
#8064CD #CD8064 #64CD80
tetradic
#8064CD #CD647C #B1CD64 #64CDB5
square
#8064CD #CD647C #B1CD64 #64CDB5
split-complementary
#8064CD #CDB564 #7CCD64
monochromatic
#452D8A #5D3BB8 #8064CD #A692DC #CCC1EB

Accessibility & contrast

On white

4.54
#8064CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8064CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8064CD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064CD#FFFFFF#000000##000000
##8064CD1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D1
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#6D798F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8064cd;
/* rgb */ color: rgb(128, 100, 205);
/* oklch */ color: oklch(58.0% 0.156 293.2);
Tailwind
colors: {
  custom: {
    50: '#a991dd',
    500: '#8064cd',
    950: '#000000',
  },
}
SCSS
$custom: #8064cd;
$custom-light: #a991dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8064cd",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 256,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58022,
    "c": 0.15637,
    "h": 293.2
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#8064CD
secondary
#D0DBB2
accent
#DB4DB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8064CD

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

Preview Lab → · Contrast checker → · Palette generator →

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