#A266ED#A266ED

#A266ED is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.197 H 301.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A266ED
RGBrgb(162, 102, 237)
HSLhsl(267, 79%, 66%)
HSVhsv(267, 57%, 93%)
CMYKcmyk(31.6%, 57%, 0%, 7.1%)
CIE-LABlab(55.38, 50.49, -59.46)
CIE-LCHlch(55.38, 78.00, 310.34°)
OKLaboklab(63.67% 0.1032 -0.1682)
OKLCHoklch(63.67% 0.197 301.5)
XYZxyz(34.9342, 23.2984, 82.7609)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266ED #B1ED66
analogous
#666EED #A266ED #E666ED
triadic
#A266ED #EDA266 #66EDA2
tetradic
#A266ED #ED666E #B1ED66 #66EDE6
square
#A266ED #ED666E #B1ED66 #66EDE6
split-complementary
#A266ED #EDE666 #6EED66
monochromatic
#6317C2 #812FE7 #A266ED #C39DF3 #E5D4FA

Accessibility & contrast

On white

3.71
#A266ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A266ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266ED
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266ED#FFFFFF#000000##000000
##A266ED1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2884F1
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#9381A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a266ed;
/* rgb */ color: rgb(162, 102, 237);
/* oklch */ color: oklch(63.7% 0.197 301.5);
Tailwind
colors: {
  custom: {
    50: '#c294f3',
    500: '#a266ed',
    950: '#000000',
  },
}
SCSS
$custom: #a266ed;
$custom-light: #c294f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a266ed",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 266.667,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63673,
    "c": 0.19736,
    "h": 301.5
  },
  "luminance": 0.23299
}

Semantic roles & 50–950 ramp

primary
#A266ED
secondary
#DAEDC2
accent
#DB0A7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A266ED

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

Preview Lab → · Contrast checker → · Palette generator →

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