#8266FB#8266FB

#8266FB is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.6% C 0.212 H 287.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8266FB
RGBrgb(130, 102, 251)
HSLhsl(251, 95%, 69%)
HSVhsv(251, 59%, 98%)
CMYKcmyk(48.2%, 59.4%, 0%, 1.6%)
CIE-LABlab(53.18, 47.32, -70.95)
CIE-LCHlch(53.18, 85.29, 303.70°)
OKLaboklab(61.62% 0.0623 -0.203)
OKLCHoklch(61.62% 0.212 287.1)
XYZxyz(31.3648, 21.2122, 93.6898)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8266FB #DFFB66
analogous
#6695FB #8266FB #CC66FB
triadic
#8266FB #FB8266 #66FB82
tetradic
#8266FB #FB6695 #DFFB66 #66FBCC
square
#8266FB #FB6695 #DFFB66 #66FBCC
split-complementary
#8266FB #FBCC66 #95FB66
monochromatic
#2F06E1 #512AF9 #8266FB #B3A2FD #E3DDFE

Accessibility & contrast

On white

4.01
#8266FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8266FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8266FB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8266FB#FFFFFF#000000##000000
##8266FB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8266fb;
/* rgb */ color: rgb(130, 102, 251);
/* oklch */ color: oklch(61.6% 0.212 287.1);
Tailwind
colors: {
  custom: {
    50: '#ae93fe',
    500: '#8266fb',
    950: '#000000',
  },
}
SCSS
$custom: #8266fb;
$custom-light: #ae93fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8266fb",
  "rgb": {
    "r": 130,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 251.275,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61623,
    "c": 0.21233,
    "h": 287.1
  },
  "luminance": 0.21214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8266FB

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

Preview Lab → · Contrast checker → · Palette generator →

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