#8066FE#8066FE

#8066FE is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.7% C 0.216 H 286.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8066FE
RGBrgb(128, 102, 254)
HSLhsl(250, 99%, 70%)
HSVhsv(250, 60%, 100%)
CMYKcmyk(49.6%, 59.8%, 0%, 0.4%)
CIE-LABlab(53.22, 47.80, -72.56)
CIE-LCHlch(53.22, 86.89, 303.37°)
OKLaboklab(61.67% 0.0597 -0.2078)
OKLCHoklch(61.67% 0.216 286)
XYZxyz(31.5376, 21.2462, 96.1859)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066FE #E4FE66
analogous
#6698FE #8066FE #CC66FE
triadic
#8066FE #FE8066 #66FE80
tetradic
#8066FE #FE6698 #E4FE66 #66FECC
square
#8066FE #FE6698 #E4FE66 #66FECC
split-complementary
#8066FE #FECC66 #98FE66
monochromatic
#2902E8 #4E29FE #8066FE #B2A3FE #E5E0FF

Accessibility & contrast

On white

4.00
#8066FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8066FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066FE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066FE#FFFFFF#000000##000000
##8066FE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#528AA8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8066fe;
/* rgb */ color: rgb(128, 102, 254);
/* oklch */ color: oklch(61.7% 0.216 286.0);
Tailwind
colors: {
  custom: {
    50: '#ae93ff',
    500: '#8066fe',
    950: '#000000',
  },
}
SCSS
$custom: #8066fe;
$custom-light: #ae93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8066fe",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 250.263,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.21618,
    "h": 286
  },
  "luminance": 0.21248
}

Semantic roles & 50–950 ramp

primary
#8066FE
secondary
#EEF5CA
accent
#E600BE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8066FE

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

Preview Lab → · Contrast checker → · Palette generator →

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