#A266F2#A266F2

#A266F2 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.0% C 0.203 H 300.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A266F2
RGBrgb(162, 102, 242)
HSLhsl(266, 84%, 67%)
HSVhsv(266, 58%, 95%)
CMYKcmyk(33.1%, 57.9%, 0%, 5.1%)
CIE-LABlab(55.68, 51.71, -61.76)
CIE-LCHlch(55.68, 80.55, 309.94°)
OKLaboklab(63.99% 0.1032 -0.175)
OKLCHoklch(63.99% 0.203 300.5)
XYZxyz(35.6748, 23.5947, 86.6619)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266F2 #B6F266
analogous
#6670F2 #A266F2 #E866F2
triadic
#A266F2 #F2A266 #66F2A2
tetradic
#A266F2 #F26670 #B6F266 #66F2E8
square
#A266F2 #F26670 #B6F266 #66F2E8
split-complementary
#A266F2 #F2E866 #70F266
monochromatic
#6111CC #802EED #A266F2 #C49EF7 #E7D7FC

Accessibility & contrast

On white

3.67
#A266F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A266F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266F2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266F2#FFFFFF#000000##000000
##A266F21.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E85F7
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#9183A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a266f2;
/* rgb */ color: rgb(162, 102, 242);
/* oklch */ color: oklch(64.0% 0.203 300.5);
Tailwind
colors: {
  custom: {
    50: '#c294f7',
    500: '#a266f2',
    950: '#000000',
  },
}
SCSS
$custom: #a266f2;
$custom-light: #c294f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a266f2",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 265.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6399,
    "c": 0.20315,
    "h": 300.5
  },
  "luminance": 0.23595
}

Semantic roles & 50–950 ramp

primary
#A266F2
secondary
#DDF0C4
accent
#E10582
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A266F2

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

Preview Lab → · Contrast checker → · Palette generator →

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