#8066BD#8066BD

#8066BD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.4% C 0.132 H 295.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8066BD
RGBrgb(128, 102, 189)
HSLhsl(258, 40%, 57%)
HSVhsv(258, 46%, 74%)
CMYKcmyk(32.3%, 46%, 0%, 25.9%)
CIE-LABlab(49.21, 29.76, -42.24)
CIE-LCHlch(49.21, 51.67, 305.17°)
OKLaboklab(57.42% 0.0573 -0.1188)
OKLCHoklch(57.42% 0.132 295.7)
XYZxyz(22.8365, 17.7657, 50.3602)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066BD #A3BD66
analogous
#6678BD #8066BD #AC66BD
triadic
#8066BD #BD8066 #66BD80
tetradic
#8066BD #BD6678 #A3BD66 #66BDAC
square
#8066BD #BD6678 #A3BD66 #66BDAC
split-complementary
#8066BD #BDAC66 #78BD66
monochromatic
#473376 #6145A1 #8066BD #A391CF #C7BCE2

Accessibility & contrast

On white

4.61
#8066BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8066BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8066BD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066BD#FFFFFF#000000##FFFFFF
##8066BD1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C0
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#727688
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8066bd;
/* rgb */ color: rgb(128, 102, 189);
/* oklch */ color: oklch(57.4% 0.132 295.7);
Tailwind
colors: {
  custom: {
    50: '#a792d1',
    500: '#8066bd',
    950: '#000000',
  },
}
SCSS
$custom: #8066bd;
$custom-light: #a792d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8066bd",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 257.931,
    "s": 39.726,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.13185,
    "h": 295.7
  },
  "luminance": 0.17766
}

Semantic roles & 50–950 ramp

primary
#8066BD
secondary
#C7D1AE
accent
#D058AC
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8066BD

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

Preview Lab → · Contrast checker → · Palette generator →

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