#8066BF#8066BF

#8066BF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.5% C 0.135 H 295.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8066BF
RGBrgb(128, 102, 191)
HSLhsl(258, 41%, 57%)
HSVhsv(258, 47%, 75%)
CMYKcmyk(33%, 46.6%, 0%, 25.1%)
CIE-LABlab(49.32, 30.29, -43.22)
CIE-LCHlch(49.32, 52.78, 305.02°)
OKLaboklab(57.53% 0.0575 -0.1216)
OKLCHoklch(57.53% 0.135 295.3)
XYZxyz(23.0551, 17.8532, 51.5114)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066BF #A5BF66
analogous
#6679BF #8066BF #AD66BF
triadic
#8066BF #BF8066 #66BF80
tetradic
#8066BF #BF6679 #A5BF66 #66BFAD
square
#8066BF #BF6679 #A5BF66 #66BFAD
split-complementary
#8066BF #BFAD66 #79BF66
monochromatic
#473278 #6044A3 #8066BF #A491D1 #C8BCE3

Accessibility & contrast

On white

4.59
#8066BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8066BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8066BF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066BF#FFFFFF#000000##FFFFFF
##8066BF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4976C2
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#727789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8066bf;
/* rgb */ color: rgb(128, 102, 191);
/* oklch */ color: oklch(57.5% 0.135 295.3);
Tailwind
colors: {
  custom: {
    50: '#a792d3',
    500: '#8066bf',
    950: '#000000',
  },
}
SCSS
$custom: #8066bf;
$custom-light: #a792d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8066bf",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 257.528,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57534,
    "c": 0.13456,
    "h": 295.3
  },
  "luminance": 0.17854
}

Semantic roles & 50–950 ramp

primary
#8066BF
secondary
#C8D2AE
accent
#D157AD
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8066BF

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

Preview Lab → · Contrast checker → · Palette generator →

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