#A266CF#A266CF

#A266CF is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.9% C 0.162 H 308.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A266CF
RGBrgb(162, 102, 207)
HSLhsl(274, 52%, 61%)
HSVhsv(274, 51%, 81%)
CMYKcmyk(21.7%, 50.7%, 0%, 18.8%)
CIE-LABlab(53.70, 43.43, -45.23)
CIE-LCHlch(53.70, 62.71, 313.84°)
OKLaboklab(61.89% 0.1017 -0.1266)
OKLCHoklch(61.89% 0.162 308.8)
XYZxyz(30.9120, 21.6896, 61.5774)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266CF #93CF66
analogous
#6D66CF #A266CF #CF66C7
triadic
#A266CF #CFA266 #66CFA2
tetradic
#A266CF #CF6D66 #93CF66 #66C7CF
square
#A266CF #CF6D66 #93CF66 #66C7CF
split-complementary
#A266CF #C7CF66 #66CF6D
monochromatic
#642D8E #853BBD #A266CF #BE95DE #DBC3EC

Accessibility & contrast

On white

3.93
#A266CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#A266CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266CF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266CF#FFFFFF#000000##000000
##A266CF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED3
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#9C7891
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a266cf;
/* rgb */ color: rgb(162, 102, 207);
/* oklch */ color: oklch(61.9% 0.162 308.8);
Tailwind
colors: {
  custom: {
    50: '#c093de',
    500: '#a266cf',
    950: '#000000',
  },
}
SCSS
$custom: #a266cf;
$custom-light: #c093de;
$custom-dark: #000000;
JSON
{
  "hex": "#a266cf",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 274.286,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.1624,
    "h": 308.8
  },
  "luminance": 0.21689
}

Semantic roles & 50–950 ramp

primary
#A266CF
secondary
#C6DCB4
accent
#C02668
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A266CF

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

Preview Lab → · Contrast checker → · Palette generator →

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