#8066F8#8066F8

#8066F8 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.2% C 0.209 H 286.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8066F8
RGBrgb(128, 102, 248)
HSLhsl(251, 91%, 69%)
HSVhsv(251, 59%, 97%)
CMYKcmyk(48.4%, 58.9%, 0%, 2.7%)
CIE-LABlab(52.80, 46.09, -69.90)
CIE-LCHlch(52.80, 83.73, 303.40°)
OKLaboklab(61.24% 0.0599 -0.2)
OKLCHoklch(61.24% 0.209 286.7)
XYZxyz(30.5918, 20.8678, 91.2047)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066F8 #DEF866
analogous
#6695F8 #8066F8 #C966F8
triadic
#8066F8 #F88066 #66F880
tetradic
#8066F8 #F86695 #DEF866 #66F8C9
square
#8066F8 #F86695 #DEF866 #66F8C9
split-complementary
#8066F8 #F8C966 #95F866
monochromatic
#2F0ADA #4F2BF5 #8066F8 #B1A1FB #E1DBFD

Accessibility & contrast

On white

4.06
#8066F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8066F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066F8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066F8#FFFFFF#000000##000000
##8066F81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#5688A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8066f8;
/* rgb */ color: rgb(128, 102, 248);
/* oklch */ color: oklch(61.2% 0.209 286.7);
Tailwind
colors: {
  custom: {
    50: '#ad93fb',
    500: '#8066f8',
    950: '#000000',
  },
}
SCSS
$custom: #8066f8;
$custom-light: #ad93fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8066f8",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 250.685,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6124,
    "c": 0.20875,
    "h": 286.7
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#8066F8
secondary
#EBF3C7
accent
#E600BD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8066F8

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

Preview Lab → · Contrast checker → · Palette generator →

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