#8066EE#8066EE

#8066EE is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.196 H 287.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8066EE
RGBrgb(128, 102, 238)
HSLhsl(251, 80%, 67%)
HSVhsv(251, 57%, 93%)
CMYKcmyk(46.2%, 57.1%, 0%, 6.7%)
CIE-LABlab(52.13, 43.24, -65.41)
CIE-LCHlch(52.13, 78.41, 303.47°)
OKLaboklab(60.54% 0.0602 -0.1867)
OKLCHoklch(60.54% 0.196 287.9)
XYZxyz(29.0816, 20.2638, 83.2513)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066EE #D4EE66
analogous
#6690EE #8066EE #C466EE
triadic
#8066EE #EE8066 #66EE80
tetradic
#8066EE #EE6690 #D4EE66 #66EEC4
square
#8066EE #EE6690 #D4EE66 #66EEC4
split-complementary
#8066EE #EEC466 #90EE66
monochromatic
#3716C4 #522FE8 #8066EE #AE9DF4 #DBD4FA

Accessibility & contrast

On white

4.16
#8066EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8066EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066EE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066EE#FFFFFF#000000##000000
##8066EE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#5C85A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8066ee;
/* rgb */ color: rgb(128, 102, 238);
/* oklch */ color: oklch(60.5% 0.196 287.9);
Tailwind
colors: {
  custom: {
    50: '#ac92f4',
    500: '#8066ee',
    950: '#000000',
  },
}
SCSS
$custom: #8066ee;
$custom-light: #ac92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8066ee",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 251.471,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60535,
    "c": 0.1962,
    "h": 287.9
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#8066EE
secondary
#E5EEC2
accent
#DC09B4
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8066EE

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

Preview Lab → · Contrast checker → · Palette generator →

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