#8066FA#8066FA

#8066FA is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.4% C 0.211 H 286.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8066FA
RGBrgb(128, 102, 250)
HSLhsl(251, 94%, 69%)
HSVhsv(251, 59%, 98%)
CMYKcmyk(48.8%, 59.2%, 0%, 2%)
CIE-LABlab(52.94, 46.66, -70.79)
CIE-LCHlch(52.94, 84.78, 303.39°)
OKLaboklab(61.38% 0.0599 -0.2026)
OKLCHoklch(61.38% 0.211 286.5)
XYZxyz(30.9037, 20.9926, 92.8476)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066FA #E0FA66
analogous
#6696FA #8066FA #CA66FA
triadic
#8066FA #FA8066 #66FA80
tetradic
#8066FA #FA6696 #E0FA66 #66FACA
square
#8066FA #FA6696 #E0FA66 #66FACA
split-complementary
#8066FA #FACA66 #96FA66
monochromatic
#2D07DE #4F2BF8 #8066FA #B1A1FC #E2DDFE

Accessibility & contrast

On white

4.04
#8066FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8066FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066FA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066FA#FFFFFF#000000##000000
##8066FA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#5588A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8066fa;
/* rgb */ color: rgb(128, 102, 250);
/* oklch */ color: oklch(61.4% 0.211 286.5);
Tailwind
colors: {
  custom: {
    50: '#ad93fd',
    500: '#8066fa',
    950: '#000000',
  },
}
SCSS
$custom: #8066fa;
$custom-light: #ad93fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8066fa",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 250.541,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61384,
    "c": 0.21123,
    "h": 286.5
  },
  "luminance": 0.20994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8066FA

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

Preview Lab → · Contrast checker → · Palette generator →

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