#A756EC#A756EC

#A756EC is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 62.0% C 0.220 H 305.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A756EC
RGBrgb(167, 86, 236)
HSLhsl(272, 80%, 63%)
HSVhsv(272, 64%, 93%)
CMYKcmyk(29.2%, 63.6%, 0%, 7.5%)
CIE-LABlab(52.87, 59.47, -62.90)
CIE-LCHlch(52.87, 86.56, 313.40°)
OKLaboklab(61.95% 0.1283 -0.1781)
OKLCHoklch(61.95% 0.22 305.8)
XYZxyz(34.4012, 20.9275, 81.5677)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A756EC #9BEC56
analogous
#5C56EC #A756EC #EC56E6
triadic
#A756EC #ECA756 #56ECA7
tetradic
#A756EC #EC5C56 #9BEC56 #56E6EC
square
#A756EC #EC5C56 #9BEC56 #56E6EC
split-complementary
#A756EC #E6EC56 #56EC5C
monochromatic
#6A14B3 #8A1FE6 #A756EC #C48DF2 #E0C4F8

Accessibility & contrast

On white

4.05
#A756EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A756EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A756EC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A756EC#FFFFFF#000000##000000
##A756EC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#317FE9
Tritanopia (blue-blind)
#9B769A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a756ec;
/* rgb */ color: rgb(167, 86, 236);
/* oklch */ color: oklch(62.0% 0.220 305.8);
Tailwind
colors: {
  custom: {
    50: '#c68af3',
    500: '#a756ec',
    950: '#000000',
  },
}
SCSS
$custom: #a756ec;
$custom-light: #c68af3;
$custom-dark: #000000;
JSON
{
  "hex": "#a756ec",
  "rgb": {
    "r": 167,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 272.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61954,
    "c": 0.21952,
    "h": 305.8
  },
  "luminance": 0.20927
}

Semantic roles & 50–950 ramp

primary
#A756EC
secondary
#CDEAB4
accent
#DC096A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A756EC

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

Preview Lab → · Contrast checker → · Palette generator →

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