#8066F5#8066F5

#8066F5 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.0% C 0.205 H 287.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8066F5
RGBrgb(128, 102, 245)
HSLhsl(251, 88%, 68%)
HSVhsv(251, 58%, 96%)
CMYKcmyk(47.8%, 58.4%, 0%, 3.9%)
CIE-LABlab(52.60, 45.23, -68.56)
CIE-LCHlch(52.60, 82.14, 303.41°)
OKLaboklab(61.03% 0.06 -0.196)
OKLCHoklch(61.03% 0.205 287)
XYZxyz(30.1301, 20.6832, 88.7732)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066F5 #DBF566
analogous
#6693F5 #8066F5 #C766F5
triadic
#8066F5 #F58066 #66F580
tetradic
#8066F5 #F56693 #DBF566 #66F5C7
square
#8066F5 #F56693 #DBF566 #66F5C7
split-complementary
#8066F5 #F5C766 #93F566
monochromatic
#320ED3 #502DF1 #8066F5 #B09FF9 #DFD9FD

Accessibility & contrast

On white

4.09
#8066F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8066F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066F5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066F5#FFFFFF#000000##000000
##8066F51.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#5887A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8066f5;
/* rgb */ color: rgb(128, 102, 245);
/* oklch */ color: oklch(61.0% 0.205 287.0);
Tailwind
colors: {
  custom: {
    50: '#ad92f9',
    500: '#8066f5',
    950: '#000000',
  },
}
SCSS
$custom: #8066f5;
$custom-light: #ad92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8066f5",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 250.909,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61026,
    "c": 0.20501,
    "h": 287
  },
  "luminance": 0.20685
}

Semantic roles & 50–950 ramp

primary
#8066F5
secondary
#E9F1C6
accent
#E401BB
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8066F5

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

Preview Lab → · Contrast checker → · Palette generator →

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