#8066EB#8066EB

#8066EB is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.3% C 0.192 H 288.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8066EB
RGBrgb(128, 102, 235)
HSLhsl(252, 77%, 66%)
HSVhsv(252, 57%, 92%)
CMYKcmyk(45.5%, 56.6%, 0%, 7.8%)
CIE-LABlab(51.94, 42.39, -64.05)
CIE-LCHlch(51.94, 76.81, 303.50°)
OKLaboklab(60.33% 0.0602 -0.1827)
OKLCHoklch(60.33% 0.192 288.2)
XYZxyz(28.6446, 20.0890, 80.9494)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066EB #D1EB66
analogous
#668EEB #8066EB #C266EB
triadic
#8066EB #EB8066 #66EB80
tetradic
#8066EB #EB668E #D1EB66 #66EBC2
square
#8066EB #EB668E #D1EB66 #66EBC2
split-complementary
#8066EB #EBC266 #8EEB66
monochromatic
#3919BE #5330E4 #8066EB #AD9CF2 #DAD2F9

Accessibility & contrast

On white

4.18
#8066EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8066EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066EB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066EB#FFFFFF#000000##000000
##8066EB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#087FEF
Deuteranopia (green-blind)
#0E78E8
Tritanopia (blue-blind)
#5E849F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8066eb;
/* rgb */ color: rgb(128, 102, 235);
/* oklch */ color: oklch(60.3% 0.192 288.2);
Tailwind
colors: {
  custom: {
    50: '#ab92f2',
    500: '#8066eb',
    950: '#000000',
  },
}
SCSS
$custom: #8066eb;
$custom-light: #ab92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8066eb",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 251.729,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60327,
    "c": 0.1924,
    "h": 288.2
  },
  "luminance": 0.2009
}

Semantic roles & 50–950 ramp

primary
#8066EB
secondary
#E4ECC1
accent
#D90CB1
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8066EB

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

Preview Lab → · Contrast checker → · Palette generator →

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