#A266FB#A266FB

#A266FB is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.6% C 0.214 H 298.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A266FB
RGBrgb(162, 102, 251)
HSLhsl(264, 95%, 69%)
HSVhsv(264, 59%, 98%)
CMYKcmyk(35.5%, 59.4%, 0%, 1.6%)
CIE-LABlab(56.24, 53.92, -65.86)
CIE-LCHlch(56.24, 85.12, 309.30°)
OKLaboklab(64.57% 0.103 -0.187)
OKLCHoklch(64.57% 0.214 298.8)
XYZxyz(37.0599, 24.1487, 93.9568)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266FB #BFFB66
analogous
#6675FB #A266FB #EC66FB
triadic
#A266FB #FBA266 #66FBA2
tetradic
#A266FB #FB6675 #BFFB66 #66FBEC
square
#A266FB #FB6675 #BFFB66 #66FBEC
split-complementary
#A266FB #FBEC66 #75FB66
monochromatic
#5E06E1 #7E2AF9 #A266FB #C6A2FD #EBDDFE

Accessibility & contrast

On white

3.60
#A266FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A266FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266FB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266FB#FFFFFF#000000##000000
##A266FB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#2E85F8
Tritanopia (blue-blind)
#8E86A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a266fb;
/* rgb */ color: rgb(162, 102, 251);
/* oklch */ color: oklch(64.6% 0.214 298.8);
Tailwind
colors: {
  custom: {
    50: '#c394fd',
    500: '#a266fb',
    950: '#000000',
  },
}
SCSS
$custom: #a266fb;
$custom-light: #c394fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a266fb",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 264.161,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64574,
    "c": 0.21352,
    "h": 298.8
  },
  "luminance": 0.24149
}

Semantic roles & 50–950 ramp

primary
#A266FB
secondary
#E3F4C9
accent
#E60089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A266FB

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

Preview Lab → · Contrast checker → · Palette generator →

#A266FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva