#8066D9#8066D9

#8066D9 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.1% C 0.169 H 290.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8066D9
RGBrgb(128, 102, 217)
HSLhsl(254, 60%, 63%)
HSVhsv(254, 53%, 85%)
CMYKcmyk(41%, 53%, 0%, 14.9%)
CIE-LABlab(50.80, 37.35, -55.72)
CIE-LCHlch(50.80, 67.08, 303.83°)
OKLaboklab(59.13% 0.0598 -0.1583)
OKLCHoklch(59.13% 0.169 290.7)
XYZxyz(26.1744, 19.1009, 67.9399)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066D9 #BFD966
analogous
#6686D9 #8066D9 #B966D9
triadic
#8066D9 #D98066 #66D980
tetradic
#8066D9 #D96686 #BFD966 #66D9B9
square
#8066D9 #D96686 #BFD966 #66D9B9
split-complementary
#8066D9 #D9B966 #86D966
monochromatic
#42279D #5735CD #8066D9 #A997E5 #D1C8F1

Accessibility & contrast

On white

4.36
#8066D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8066D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066D9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066D9#FFFFFF#000000##000000
##8066D91.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#317BDD
Deuteranopia (green-blind)
#3576D6
Tritanopia (blue-blind)
#677E96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8066d9;
/* rgb */ color: rgb(128, 102, 217);
/* oklch */ color: oklch(59.1% 0.169 290.7);
Tailwind
colors: {
  custom: {
    50: '#aa92e5',
    500: '#8066d9',
    950: '#000000',
  },
}
SCSS
$custom: #8066d9;
$custom-light: #aa92e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8066d9",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 217
  },
  "hsl": {
    "h": 253.565,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59127,
    "c": 0.16919,
    "h": 290.7
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#8066D9
secondary
#D9E2B8
accent
#C81EA1
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8066D9

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

Preview Lab → · Contrast checker → · Palette generator →

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