#8266EA#8266EA

#8266EA is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.4% C 0.191 H 289.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8266EA
RGBrgb(130, 102, 234)
HSLhsl(253, 76%, 66%)
HSVhsv(253, 56%, 92%)
CMYKcmyk(44.4%, 56.4%, 0%, 8.2%)
CIE-LABlab(52.05, 42.53, -63.30)
CIE-LCHlch(52.05, 76.26, 303.90°)
OKLaboklab(60.43% 0.0627 -0.1805)
OKLCHoklch(60.43% 0.191 289.2)
XYZxyz(28.8044, 20.1880, 80.2049)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8266EA #CEEA66
analogous
#668CEA #8266EA #C466EA
triadic
#8266EA #EA8266 #66EA82
tetradic
#8266EA #EA668C #CEEA66 #66EAC4
square
#8266EA #EA668C #CEEA66 #66EAC4
split-complementary
#8266EA #EAC466 #8CEA66
monochromatic
#3C1ABC #5630E3 #8266EA #AE9CF1 #DAD2F9

Accessibility & contrast

On white

4.17
#8266EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8266EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8266EA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8266EA#FFFFFF#000000##000000
##8266EA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#107FEE
Deuteranopia (green-blind)
#1779E7
Tritanopia (blue-blind)
#62839E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8266ea;
/* rgb */ color: rgb(130, 102, 234);
/* oklch */ color: oklch(60.4% 0.191 289.2);
Tailwind
colors: {
  custom: {
    50: '#ad92f1',
    500: '#8266ea',
    950: '#000000',
  },
}
SCSS
$custom: #8266ea;
$custom-light: #ad92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8266ea",
  "rgb": {
    "r": 130,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 252.727,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60431,
    "c": 0.19105,
    "h": 289.2
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#8266EA
secondary
#E2ECC0
accent
#D80DAD
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8266EA

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

Preview Lab → · Contrast checker → · Palette generator →

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