#8066CD#8066CD

#8066CD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.4% C 0.153 H 292.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8066CD
RGBrgb(128, 102, 205)
HSLhsl(255, 51%, 60%)
HSVhsv(255, 50%, 80%)
CMYKcmyk(37.6%, 50.2%, 0%, 19.6%)
CIE-LABlab(50.10, 34.05, -50.03)
CIE-LCHlch(50.10, 60.51, 304.24°)
OKLaboklab(58.37% 0.059 -0.1415)
OKLCHoklch(58.37% 0.153 292.6)
XYZxyz(24.6700, 18.4991, 60.0167)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066CD #B3CD66
analogous
#667FCD #8066CD #B466CD
triadic
#8066CD #CD8066 #66CD80
tetradic
#8066CD #CD667F #B3CD66 #66CDB4
square
#8066CD #CD667F #B3CD66 #66CDB4
split-complementary
#8066CD #CDB466 #7FCD66
monochromatic
#452D8B #5C3DB9 #8066CD #A694DC #CDC2EB

Accessibility & contrast

On white

4.47
#8066CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8066CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066CD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066CD#FFFFFF#000000##000000
##8066CD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#6D7B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8066cd;
/* rgb */ color: rgb(128, 102, 205);
/* oklch */ color: oklch(58.4% 0.153 292.6);
Tailwind
colors: {
  custom: {
    50: '#a992dd',
    500: '#8066cd',
    950: '#000000',
  },
}
SCSS
$custom: #8066cd;
$custom-light: #a992dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8066cd",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 255.146,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5837,
    "c": 0.15337,
    "h": 292.6
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#8066CD
secondary
#D1DBB4
accent
#BE2798
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8066CD

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

Preview Lab → · Contrast checker → · Palette generator →

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