#A266BB#A266BB

#A266BB is a mid, vivid purple. Relative luminance 0.208; OKLCH L 60.8% C 0.139 H 315.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A266BB
RGBrgb(162, 102, 187)
HSLhsl(282, 38%, 57%)
HSVhsv(282, 45%, 73%)
CMYKcmyk(13.4%, 45.5%, 0%, 26.7%)
CIE-LABlab(52.70, 39.01, -35.34)
CIE-LCHlch(52.70, 52.64, 317.82°)
OKLaboklab(60.82% 0.0991 -0.0979)
OKLCHoklch(60.82% 0.139 315.3)
XYZxyz(28.6199, 20.7727, 49.5060)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266BB #7FBB66
analogous
#7866BB #A266BB #BB66AA
triadic
#A266BB #BBA266 #66BBA2
tetradic
#A266BB #BB7866 #7FBB66 #66AABB
square
#A266BB #BB7866 #7FBB66 #66AABB
split-complementary
#A266BB #AABB66 #66BB78
monochromatic
#603373 #84469E #A266BB #BC90CE #D6BBE1

Accessibility & contrast

On white

4.07
#A266BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A266BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266BB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266BB#FFFFFF#000000##000000
##A266BB1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#6680B9
Tritanopia (blue-blind)
#A17288
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a266bb;
/* rgb */ color: rgb(162, 102, 187);
/* oklch */ color: oklch(60.8% 0.139 315.3);
Tailwind
colors: {
  custom: {
    50: '#bf93d0',
    500: '#a266bb',
    950: '#000000',
  },
}
SCSS
$custom: #a266bb;
$custom-light: #bf93d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a266bb",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 282.353,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60823,
    "c": 0.13933,
    "h": 315.3
  },
  "luminance": 0.20772
}

Semantic roles & 50–950 ramp

primary
#A266BB
secondary
#B7D0AD
accent
#CE597C
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A266BB

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

Preview Lab → · Contrast checker → · Palette generator →

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