#A266CB#A266CB

#A266CB is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.7% C 0.158 H 310.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A266CB
RGBrgb(162, 102, 203)
HSLhsl(276, 49%, 60%)
HSVhsv(276, 50%, 80%)
CMYKcmyk(20.2%, 49.8%, 0%, 20.4%)
CIE-LABlab(53.49, 42.53, -43.28)
CIE-LCHlch(53.49, 60.68, 314.50°)
OKLaboklab(61.67% 0.1013 -0.1209)
OKLCHoklch(61.67% 0.158 310)
XYZxyz(30.4291, 21.4964, 59.0346)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266CB #8FCB66
analogous
#7066CB #A266CB #CB66C1
triadic
#A266CB #CBA266 #66CBA2
tetradic
#A266CB #CB7066 #8FCB66 #66C1CB
square
#A266CB #CB7066 #8FCB66 #66C1CB
split-complementary
#A266CB #C1CB66 #66CB70
monochromatic
#642E88 #853EB6 #A266CB #BE94DB #DAC1EA

Accessibility & contrast

On white

3.96
#A266CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#A266CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266CB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266CB#FFFFFF#000000##000000
##A266CB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#9D778F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a266cb;
/* rgb */ color: rgb(162, 102, 203);
/* oklch */ color: oklch(61.7% 0.158 310.0);
Tailwind
colors: {
  custom: {
    50: '#c093db',
    500: '#a266cb',
    950: '#000000',
  },
}
SCSS
$custom: #a266cb;
$custom-light: #c093db;
$custom-dark: #000000;
JSON
{
  "hex": "#a266cb",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 275.644,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.15775,
    "h": 310
  },
  "luminance": 0.21496
}

Semantic roles & 50–950 ramp

primary
#A266CB
secondary
#C3DAB3
accent
#D94F87
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A266CB

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

Preview Lab → · Contrast checker → · Palette generator →

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