#A266F4#A266F4

#A266F4 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.1% C 0.205 H 300.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A266F4
RGBrgb(162, 102, 244)
HSLhsl(265, 87%, 68%)
HSVhsv(265, 58%, 96%)
CMYKcmyk(33.6%, 58.2%, 0%, 4.3%)
CIE-LABlab(55.80, 52.20, -62.68)
CIE-LCHlch(55.80, 81.57, 309.79°)
OKLaboklab(64.12% 0.1032 -0.1777)
OKLCHoklch(64.12% 0.205 300.1)
XYZxyz(35.9769, 23.7155, 88.2526)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266F4 #B8F466
analogous
#6671F4 #A266F4 #E966F4
triadic
#A266F4 #F4A266 #66F4A2
tetradic
#A266F4 #F46671 #B8F466 #66F4E9
square
#A266F4 #F46671 #B8F466 #66F4E9
split-complementary
#A266F4 #F4E966 #71F466
monochromatic
#610FD1 #7F2DF0 #A266F4 #C59FF8 #E7D8FC

Accessibility & contrast

On white

3.66
#A266F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A266F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266F4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266F4#FFFFFF#000000##000000
##A266F41.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1985F9
Deuteranopia (green-blind)
#3985F1
Tritanopia (blue-blind)
#9184A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a266f4;
/* rgb */ color: rgb(162, 102, 244);
/* oklch */ color: oklch(64.1% 0.205 300.1);
Tailwind
colors: {
  custom: {
    50: '#c294f8',
    500: '#a266f4',
    950: '#000000',
  },
}
SCSS
$custom: #a266f4;
$custom-light: #c294f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a266f4",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 265.352,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64118,
    "c": 0.20546,
    "h": 300.1
  },
  "luminance": 0.23716
}

Semantic roles & 50–950 ramp

primary
#A266F4
secondary
#DEF1C5
accent
#E30284
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A266F4

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

Preview Lab → · Contrast checker → · Palette generator →

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