#8266FE#8266FE

#8266FE is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 61.8% C 0.216 H 286.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8266FE
RGBrgb(130, 102, 254)
HSLhsl(251, 99%, 70%)
HSVhsv(251, 60%, 100%)
CMYKcmyk(48.8%, 59.8%, 0%, 0.4%)
CIE-LABlab(53.39, 48.18, -72.28)
CIE-LCHlch(53.39, 86.86, 303.68°)
OKLaboklab(61.84% 0.0622 -0.2069)
OKLCHoklch(61.84% 0.216 286.7)
XYZxyz(31.8414, 21.4028, 96.2001)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8266FE #E2FE66
analogous
#6696FE #8266FE #CE66FE
triadic
#8266FE #FE8266 #66FE82
tetradic
#8266FE #FE6696 #E2FE66 #66FECE
square
#8266FE #FE6696 #E2FE66 #66FECE
split-complementary
#8266FE #FECE66 #96FE66
monochromatic
#2C02E8 #5029FE #8266FE #B4A3FE #E5E0FF

Accessibility & contrast

On white

3.98
#8266FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8266FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8266FE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8266FE#FFFFFF#000000##000000
##8266FE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#568AA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8266fe;
/* rgb */ color: rgb(130, 102, 254);
/* oklch */ color: oklch(61.8% 0.216 286.7);
Tailwind
colors: {
  custom: {
    50: '#af93ff',
    500: '#8266fe',
    950: '#000000',
  },
}
SCSS
$custom: #8266fe;
$custom-light: #af93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8266fe",
  "rgb": {
    "r": 130,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 251.053,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61839,
    "c": 0.21603,
    "h": 286.7
  },
  "luminance": 0.21404
}

Semantic roles & 50–950 ramp

primary
#8266FE
secondary
#EDF5CA
accent
#E600BB
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8266FE

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

Preview Lab → · Contrast checker → · Palette generator →

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