#8066FB#8066FB

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

Color values

HEX#8066FB
RGBrgb(128, 102, 251)
HSLhsl(250, 95%, 69%)
HSVhsv(250, 59%, 98%)
CMYKcmyk(49%, 59.4%, 0%, 1.6%)
CIE-LABlab(53.01, 46.94, -71.24)
CIE-LCHlch(53.01, 85.31, 303.38°)
OKLaboklab(61.46% 0.0598 -0.2039)
OKLCHoklch(61.46% 0.212 286.4)
XYZxyz(31.0609, 21.0555, 93.6756)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066FB #E1FB66
analogous
#6697FB #8066FB #CB66FB
triadic
#8066FB #FB8066 #66FB80
tetradic
#8066FB #FB6697 #E1FB66 #66FBCB
square
#8066FB #FB6697 #E1FB66 #66FBCB
split-complementary
#8066FB #FBCB66 #97FB66
monochromatic
#2C06E1 #4E2AF9 #8066FB #B2A2FD #E3DDFE

Accessibility & contrast

On white

4.03
#8066FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8066FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066FB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066FB#FFFFFF#000000##000000
##8066FB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007AF8
Tritanopia (blue-blind)
#5489A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8066fb;
/* rgb */ color: rgb(128, 102, 251);
/* oklch */ color: oklch(61.5% 0.212 286.4);
Tailwind
colors: {
  custom: {
    50: '#ad93fe',
    500: '#8066fb',
    950: '#000000',
  },
}
SCSS
$custom: #8066fb;
$custom-light: #ad93fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8066fb",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 250.47,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61456,
    "c": 0.21247,
    "h": 286.4
  },
  "luminance": 0.21057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8066FB

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

Preview Lab → · Contrast checker → · Palette generator →

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