#8066BC#8066BC

#8066BC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.4% C 0.130 H 296.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8066BC
RGBrgb(128, 102, 188)
HSLhsl(258, 39%, 57%)
HSVhsv(258, 46%, 74%)
CMYKcmyk(31.9%, 45.7%, 0%, 26.3%)
CIE-LABlab(49.16, 29.49, -41.74)
CIE-LCHlch(49.16, 51.11, 305.24°)
OKLaboklab(57.36% 0.0571 -0.1173)
OKLCHoklch(57.36% 0.13 296)
XYZxyz(22.7283, 17.7225, 49.7905)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066BC #A2BC66
analogous
#6677BC #8066BC #AB66BC
triadic
#8066BC #BC8066 #66BC80
tetradic
#8066BC #BC6677 #A2BC66 #66BCAB
square
#8066BC #BC6677 #A2BC66 #66BCAB
split-complementary
#8066BC #BCAB66 #77BC66
monochromatic
#473375 #61469F #8066BC #A391CF #C7BBE1

Accessibility & contrast

On white

4.62
#8066BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8066BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8066BC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066BC#FFFFFF#000000##FFFFFF
##8066BC1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BF
Deuteranopia (green-blind)
#4F74BA
Tritanopia (blue-blind)
#737688
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8066bc;
/* rgb */ color: rgb(128, 102, 188);
/* oklch */ color: oklch(57.4% 0.130 296.0);
Tailwind
colors: {
  custom: {
    50: '#a792d0',
    500: '#8066bc',
    950: '#000000',
  },
}
SCSS
$custom: #8066bc;
$custom-light: #a792d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8066bc",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 258.14,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.13049,
    "h": 296
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#8066BC
secondary
#C6D0AD
accent
#CF59AB
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8066BC

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

Preview Lab → · Contrast checker → · Palette generator →

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