#A756EA#A756EA

#A756EA is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.217 H 306.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A756EA
RGBrgb(167, 86, 234)
HSLhsl(273, 78%, 63%)
HSVhsv(273, 63%, 92%)
CMYKcmyk(28.6%, 63.2%, 0%, 8.2%)
CIE-LABlab(52.74, 59.02, -61.98)
CIE-LCHlch(52.74, 85.59, 313.60°)
OKLaboklab(61.82% 0.1284 -0.1754)
OKLCHoklch(61.82% 0.217 306.2)
XYZxyz(34.1122, 20.8119, 80.0460)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A756EA #99EA56
analogous
#5D56EA #A756EA #EA56E3
triadic
#A756EA #EAA756 #56EAA7
tetradic
#A756EA #EA5D56 #99EA56 #56E3EA
square
#A756EA #EA5D56 #99EA56 #56E3EA
split-complementary
#A756EA #E3EA56 #56EA5D
monochromatic
#6A16B0 #8B20E3 #A756EA #C38CF1 #E0C3F8

Accessibility & contrast

On white

4.07
#A756EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A756EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A756EA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A756EA#FFFFFF#000000##000000
##A756EA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#347EE7
Tritanopia (blue-blind)
#9C7598
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a756ea;
/* rgb */ color: rgb(167, 86, 234);
/* oklch */ color: oklch(61.8% 0.217 306.2);
Tailwind
colors: {
  custom: {
    50: '#c58af1',
    500: '#a756ea',
    950: '#000000',
  },
}
SCSS
$custom: #a756ea;
$custom-light: #c58af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a756ea",
  "rgb": {
    "r": 167,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 272.838,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61822,
    "c": 0.21741,
    "h": 306.2
  },
  "luminance": 0.20812
}

Semantic roles & 50–950 ramp

primary
#A756EA
secondary
#CBE9B3
accent
#DA0B69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A756EA

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

Preview Lab → · Contrast checker → · Palette generator →

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