#8064CF#8064CF

#8064CF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.1% C 0.159 H 292.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8064CF
RGBrgb(128, 100, 207)
HSLhsl(256, 53%, 60%)
HSVhsv(256, 52%, 81%)
CMYKcmyk(38.2%, 51.7%, 0%, 18.8%)
CIE-LABlab(49.75, 35.76, -51.73)
CIE-LCHlch(49.75, 62.88, 304.66°)
OKLaboklab(58.15% 0.0617 -0.1465)
OKLCHoklch(58.15% 0.159 292.8)
XYZxyz(24.7188, 18.2079, 61.2315)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064CF #B3CF64
analogous
#647DCF #8064CF #B564CF
triadic
#8064CF #CF8064 #64CF80
tetradic
#8064CF #CF647D #B3CF64 #64CFB5
square
#8064CF #CF647D #B3CF64 #64CFB5
split-complementary
#8064CF #CFB564 #7DCF64
monochromatic
#452C8D #5C3ABC #8064CF #A693DD #CDC1EC

Accessibility & contrast

On white

4.52
#8064CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8064CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8064CF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064CF#FFFFFF#000000##000000
##8064CF1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3878D3
Deuteranopia (green-blind)
#3D74CD
Tritanopia (blue-blind)
#6C7A90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8064cf;
/* rgb */ color: rgb(128, 100, 207);
/* oklch */ color: oklch(58.1% 0.159 292.8);
Tailwind
colors: {
  custom: {
    50: '#a991de',
    500: '#8064cf',
    950: '#000000',
  },
}
SCSS
$custom: #8064cf;
$custom-light: #a991de;
$custom-dark: #000000;
JSON
{
  "hex": "#8064cf",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 255.701,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.159,
    "h": 292.8
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#8064CF
secondary
#D1DCB3
accent
#C02598
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #8064CF

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

Preview Lab → · Contrast checker → · Palette generator →

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