#8064D2#8064D2

#8064D2 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.3% C 0.163 H 292.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8064D2
RGBrgb(128, 100, 210)
HSLhsl(255, 55%, 61%)
HSVhsv(255, 52%, 82%)
CMYKcmyk(39%, 52.4%, 0%, 17.6%)
CIE-LABlab(49.93, 36.58, -53.15)
CIE-LCHlch(49.93, 64.52, 304.54°)
OKLaboklab(58.34% 0.0619 -0.1507)
OKLCHoklch(58.34% 0.163 292.3)
XYZxyz(25.0890, 18.3560, 63.1815)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064D2 #B6D264
analogous
#647FD2 #8064D2 #B764D2
triadic
#8064D2 #D28064 #64D280
tetradic
#8064D2 #D2647F #B6D264 #64D2B7
square
#8064D2 #D2647F #B6D264 #64D2B7
split-complementary
#8064D2 #D2B764 #7FD264
monochromatic
#442A91 #5B38C1 #8064D2 #A793E0 #CEC3EE

Accessibility & contrast

On white

4.50
#8064D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8064D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8064D2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064D2#FFFFFF#000000##000000
##8064D21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3578D6
Deuteranopia (green-blind)
#3A75CF
Tritanopia (blue-blind)
#6B7B91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8064d2;
/* rgb */ color: rgb(128, 100, 210);
/* oklch */ color: oklch(58.3% 0.163 292.3);
Tailwind
colors: {
  custom: {
    50: '#a991e0',
    500: '#8064d2',
    950: '#000000',
  },
}
SCSS
$custom: #8064d2;
$custom-light: #a991e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8064d2",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 255.273,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.16294,
    "h": 292.3
  },
  "luminance": 0.18357
}

Semantic roles & 50–950 ramp

primary
#8064D2
secondary
#D3DEB4
accent
#C3239A
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #8064D2

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

Preview Lab → · Contrast checker → · Palette generator →

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