#8066D7#8066D7

#8066D7 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.0% C 0.167 H 291.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8066D7
RGBrgb(128, 102, 215)
HSLhsl(254, 59%, 62%)
HSVhsv(254, 53%, 84%)
CMYKcmyk(40.5%, 52.6%, 0%, 15.7%)
CIE-LABlab(50.68, 36.79, -54.78)
CIE-LCHlch(50.68, 65.99, 303.89°)
OKLaboklab(59% 0.0597 -0.1555)
OKLCHoklch(59% 0.167 291)
XYZxyz(25.9159, 18.9975, 66.5782)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066D7 #BDD766
analogous
#6685D7 #8066D7 #B866D7
triadic
#8066D7 #D78066 #66D780
tetradic
#8066D7 #D76685 #BDD766 #66D7B8
square
#8066D7 #D76685 #BDD766 #66D7B8
split-complementary
#8066D7 #D7B866 #85D766
monochromatic
#43289A #5835CA #8066D7 #A897E4 #D1C7F0

Accessibility & contrast

On white

4.38
#8066D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8066D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066D7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066D7#FFFFFF#000000##000000
##8066D71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#337BDB
Deuteranopia (green-blind)
#3776D4
Tritanopia (blue-blind)
#687E95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8066d7;
/* rgb */ color: rgb(128, 102, 215);
/* oklch */ color: oklch(59.0% 0.167 291.0);
Tailwind
colors: {
  custom: {
    50: '#a992e4',
    500: '#8066d7',
    950: '#000000',
  },
}
SCSS
$custom: #8066d7;
$custom-light: #a992e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8066d7",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 253.805,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58998,
    "c": 0.16657,
    "h": 291
  },
  "luminance": 0.18998
}

Semantic roles & 50–950 ramp

primary
#8066D7
secondary
#D8E1B8
accent
#C61FA0
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8066D7

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

Preview Lab → · Contrast checker → · Palette generator →

#8066D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva