#8066FC#8066FC

#8066FC is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.5% C 0.214 H 286.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8066FC
RGBrgb(128, 102, 252)
HSLhsl(250, 96%, 69%)
HSVhsv(250, 60%, 99%)
CMYKcmyk(49.2%, 59.5%, 0%, 1.2%)
CIE-LABlab(53.08, 47.23, -71.68)
CIE-LCHlch(53.08, 85.84, 303.38°)
OKLaboklab(61.53% 0.0598 -0.2052)
OKLCHoklch(61.53% 0.214 286.2)
XYZxyz(31.2190, 21.1187, 94.5079)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066FC #E2FC66
analogous
#6697FC #8066FC #CB66FC
triadic
#8066FC #FC8066 #66FC80
tetradic
#8066FC #FC6697 #E2FC66 #66FCCB
square
#8066FC #FC6697 #E2FC66 #66FCCB
split-complementary
#8066FC #FCCB66 #97FC66
monochromatic
#2B04E3 #4E2AFB #8066FC #B2A2FD #E4DEFE

Accessibility & contrast

On white

4.02
#8066FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8066FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066FC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066FC#FFFFFF#000000##000000
##8066FC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007AF9
Tritanopia (blue-blind)
#5389A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8066fc;
/* rgb */ color: rgb(128, 102, 252);
/* oklch */ color: oklch(61.5% 0.214 286.2);
Tailwind
colors: {
  custom: {
    50: '#ad93fe',
    500: '#8066fc',
    950: '#000000',
  },
}
SCSS
$custom: #8066fc;
$custom-light: #ad93fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8066fc",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 250.4,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61528,
    "c": 0.21371,
    "h": 286.2
  },
  "luminance": 0.2112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8066FC

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

Preview Lab → · Contrast checker → · Palette generator →

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