#A266BC#A266BC

#A266BC is a mid, vivid purple. Relative luminance 0.208; OKLCH L 60.9% C 0.140 H 315.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A266BC
RGBrgb(162, 102, 188)
HSLhsl(282, 39%, 57%)
HSVhsv(282, 46%, 74%)
CMYKcmyk(13.8%, 45.7%, 0%, 26.3%)
CIE-LABlab(52.75, 39.22, -35.84)
CIE-LCHlch(52.75, 53.14, 317.58°)
OKLaboklab(60.87% 0.0993 -0.0994)
OKLCHoklch(60.87% 0.14 315)
XYZxyz(28.7273, 20.8157, 50.0717)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266BC #80BC66
analogous
#7766BC #A266BC #BC66AB
triadic
#A266BC #BCA266 #66BCA2
tetradic
#A266BC #BC7766 #80BC66 #66ABBC
square
#A266BC #BC7766 #80BC66 #66ABBC
split-complementary
#A266BC #ABBC66 #66BC77
monochromatic
#613375 #84469F #A266BC #BC91CF #D6BBE1

Accessibility & contrast

On white

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

On black

5.16
#A266BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266BC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266BC#FFFFFF#000000##000000
##A266BC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#A07288
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a266bc;
/* rgb */ color: rgb(162, 102, 188);
/* oklch */ color: oklch(60.9% 0.140 315.0);
Tailwind
colors: {
  custom: {
    50: '#bf93d0',
    500: '#a266bc',
    950: '#000000',
  },
}
SCSS
$custom: #a266bc;
$custom-light: #bf93d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a266bc",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 281.86,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60874,
    "c": 0.14047,
    "h": 315
  },
  "luminance": 0.20815
}

Semantic roles & 50–950 ramp

primary
#A266BC
secondary
#B8D0AD
accent
#CF597D
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A266BC

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

Preview Lab → · Contrast checker → · Palette generator →

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