#A266DB#A266DB

#A266DB is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.6% C 0.176 H 305.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A266DB
RGBrgb(162, 102, 219)
HSLhsl(271, 62%, 63%)
HSVhsv(271, 53%, 86%)
CMYKcmyk(26%, 53.4%, 0%, 14.1%)
CIE-LABlab(54.34, 46.20, -51.00)
CIE-LCHlch(54.34, 68.82, 312.17°)
OKLaboklab(62.58% 0.1026 -0.1435)
OKLCHoklch(62.58% 0.176 305.6)
XYZxyz(32.4351, 22.2988, 69.5995)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266DB #9FDB66
analogous
#6766DB #A266DB #DB66DA
triadic
#A266DB #DBA266 #66DBA2
tetradic
#A266DB #DB6766 #9FDB66 #66DADB
square
#A266DB #DB6766 #9FDB66 #66DADB
split-complementary
#A266DB #DADB66 #66DB67
monochromatic
#6526A1 #8434CF #A266DB #C098E7 #DEC9F2

Accessibility & contrast

On white

3.85
#A266DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#A266DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266DB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266DB#FFFFFF#000000##000000
##A266DB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80DF
Deuteranopia (green-blind)
#5382D8
Tritanopia (blue-blind)
#997C97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a266db;
/* rgb */ color: rgb(162, 102, 219);
/* oklch */ color: oklch(62.6% 0.176 305.6);
Tailwind
colors: {
  custom: {
    50: '#c093e7',
    500: '#a266db',
    950: '#000000',
  },
}
SCSS
$custom: #a266db;
$custom-light: #c093e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a266db",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 270.769,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62577,
    "c": 0.1764,
    "h": 305.6
  },
  "luminance": 0.22299
}

Semantic roles & 50–950 ramp

primary
#A266DB
secondary
#CEE3B9
accent
#CA1C71
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A266DB

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

Preview Lab → · Contrast checker → · Palette generator →

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