#A566EF#A566EF

#A566EF is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.1% C 0.200 H 302.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A566EF
RGBrgb(165, 102, 239)
HSLhsl(268, 81%, 67%)
HSVhsv(268, 57%, 94%)
CMYKcmyk(31%, 57.3%, 0%, 6.3%)
CIE-LABlab(55.82, 51.67, -59.85)
CIE-LCHlch(55.82, 79.07, 310.81°)
OKLaboklab(64.11% 0.107 -0.1693)
OKLCHoklch(64.11% 0.2 302.3)
XYZxyz(35.8448, 23.7340, 84.3373)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A566EF #B0EF66
analogous
#666CEF #A566EF #E966EF
triadic
#A566EF #EFA566 #66EFA5
tetradic
#A566EF #EF666C #B0EF66 #66EFE9
square
#A566EF #EF666C #B0EF66 #66EFE9
split-complementary
#A566EF #EFE966 #6CEF66
monochromatic
#6615C6 #842FE9 #A566EF #C69DF5 #E6D5FB

Accessibility & contrast

On white

3.65
#A566EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A566EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A566EF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A566EF#FFFFFF#000000##000000
##A566EF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F3
Deuteranopia (green-blind)
#4385EC
Tritanopia (blue-blind)
#9782A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a566ef;
/* rgb */ color: rgb(165, 102, 239);
/* oklch */ color: oklch(64.1% 0.200 302.3);
Tailwind
colors: {
  custom: {
    50: '#c494f5',
    500: '#a566ef',
    950: '#000000',
  },
}
SCSS
$custom: #a566ef;
$custom-light: #c494f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a566ef",
  "rgb": {
    "r": 165,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 267.591,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64108,
    "c": 0.20026,
    "h": 302.3
  },
  "luminance": 0.23734
}

Semantic roles & 50–950 ramp

primary
#A566EF
secondary
#DAEEC2
accent
#DD087B
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A566EF

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

Preview Lab → · Contrast checker → · Palette generator →

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