#8065CC#8065CC

#8065CC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.1% C 0.154 H 293.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8065CC
RGBrgb(128, 101, 204)
HSLhsl(256, 50%, 60%)
HSVhsv(256, 50%, 80%)
CMYKcmyk(37.3%, 50.5%, 0%, 20%)
CIE-LABlab(49.80, 34.36, -49.92)
CIE-LCHlch(49.80, 60.60, 304.54°)
OKLaboklab(58.13% 0.0602 -0.1412)
OKLCHoklch(58.13% 0.154 293.1)
XYZxyz(24.4520, 18.2556, 59.3504)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8065CC #B1CC65
analogous
#657ECC #8065CC #B365CC
triadic
#8065CC #CC8065 #65CC80
tetradic
#8065CC #CC657E #B1CC65 #65CCB3
square
#8065CC #CC657E #B1CC65 #65CCB3
split-complementary
#8065CC #CCB365 #7ECC65
monochromatic
#452D89 #5D3DB7 #8065CC #A693DB #CCC1EA

Accessibility & contrast

On white

4.51
#8065CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8065CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8065CC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8065CC#FFFFFF#000000##000000
##8065CC1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#6D7A8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8065cc;
/* rgb */ color: rgb(128, 101, 204);
/* oklch */ color: oklch(58.1% 0.154 293.1);
Tailwind
colors: {
  custom: {
    50: '#a991dc',
    500: '#8065cc',
    950: '#000000',
  },
}
SCSS
$custom: #8065cc;
$custom-light: #a991dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8065cc",
  "rgb": {
    "r": 128,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 255.728,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58134,
    "c": 0.15354,
    "h": 293.1
  },
  "luminance": 0.18256
}

Semantic roles & 50–950 ramp

primary
#8065CC
secondary
#D0DAB2
accent
#DA4EB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #8065CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8065CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva