#8066EF#8066EF

#8066EF is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.6% C 0.197 H 287.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8066EF
RGBrgb(128, 102, 239)
HSLhsl(251, 81%, 67%)
HSVhsv(251, 57%, 94%)
CMYKcmyk(46.4%, 57.3%, 0%, 6.3%)
CIE-LABlab(52.20, 43.52, -65.86)
CIE-LCHlch(52.20, 78.95, 303.46°)
OKLaboklab(60.6% 0.0602 -0.1881)
OKLCHoklch(60.6% 0.197 287.7)
XYZxyz(29.2290, 20.3227, 84.0272)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066EF #D5EF66
analogous
#6691EF #8066EF #C566EF
triadic
#8066EF #EF8066 #66EF80
tetradic
#8066EF #EF6691 #D5EF66 #66EFC5
square
#8066EF #EF6691 #D5EF66 #66EFC5
split-complementary
#8066EF #EFC566 #91EF66
monochromatic
#3615C6 #522FE9 #8066EF #AE9DF5 #DCD5FB

Accessibility & contrast

On white

4.15
#8066EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8066EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066EF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066EF#FFFFFF#000000##000000
##8066EF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#5C85A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8066ef;
/* rgb */ color: rgb(128, 102, 239);
/* oklch */ color: oklch(60.6% 0.197 287.7);
Tailwind
colors: {
  custom: {
    50: '#ac92f5',
    500: '#8066ef',
    950: '#000000',
  },
}
SCSS
$custom: #8066ef;
$custom-light: #ac92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8066ef",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 251.387,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60604,
    "c": 0.19747,
    "h": 287.7
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#8066EF
secondary
#E6EEC2
accent
#DD08B5
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8066EF

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

Preview Lab → · Contrast checker → · Palette generator →

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