#A566EB#A566EB

#A566EB is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.196 H 303.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A566EB
RGBrgb(165, 102, 235)
HSLhsl(268, 77%, 66%)
HSVhsv(268, 57%, 92%)
CMYKcmyk(29.8%, 56.6%, 0%, 7.8%)
CIE-LABlab(55.58, 50.72, -57.99)
CIE-LCHlch(55.58, 77.04, 311.17°)
OKLaboklab(63.86% 0.107 -0.1638)
OKLCHoklch(63.86% 0.196 303.1)
XYZxyz(35.2604, 23.5003, 81.2595)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A566EB #ACEB66
analogous
#6669EB #A566EB #E766EB
triadic
#A566EB #EBA566 #66EBA5
tetradic
#A566EB #EB6669 #ACEB66 #66EBE7
square
#A566EB #EB6669 #ACEB66 #66EBE7
split-complementary
#A566EB #EBE766 #69EB66
monochromatic
#6719BE #8530E4 #A566EB #C59CF2 #E5D2F9

Accessibility & contrast

On white

3.68
#A566EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#A566EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A566EB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A566EB#FFFFFF#000000##000000
##A566EB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#98809F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a566eb;
/* rgb */ color: rgb(165, 102, 235);
/* oklch */ color: oklch(63.9% 0.196 303.1);
Tailwind
colors: {
  custom: {
    50: '#c394f2',
    500: '#a566eb',
    950: '#000000',
  },
}
SCSS
$custom: #a566eb;
$custom-light: #c394f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a566eb",
  "rgb": {
    "r": 165,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 268.421,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63858,
    "c": 0.19567,
    "h": 303.1
  },
  "luminance": 0.235
}

Semantic roles & 50–950 ramp

primary
#A566EB
secondary
#D8ECC1
accent
#D90C78
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A566EB

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

Preview Lab → · Contrast checker → · Palette generator →

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