#A756EB#A756EB

#A756EB is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.218 H 306.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A756EB
RGBrgb(167, 86, 235)
HSLhsl(273, 79%, 63%)
HSVhsv(273, 63%, 92%)
CMYKcmyk(28.9%, 63.4%, 0%, 7.8%)
CIE-LABlab(52.81, 59.25, -62.44)
CIE-LCHlch(52.81, 86.08, 313.50°)
OKLaboklab(61.89% 0.1283 -0.1768)
OKLCHoklch(61.89% 0.218 306)
XYZxyz(34.2563, 20.8695, 80.8047)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A756EB #9AEB56
analogous
#5C56EB #A756EB #EB56E5
triadic
#A756EB #EBA756 #56EBA7
tetradic
#A756EB #EB5C56 #9AEB56 #56E5EB
square
#A756EB #EB5C56 #9AEB56 #56E5EB
split-complementary
#A756EB #E5EB56 #56EB5C
monochromatic
#6A15B2 #8B1FE5 #A756EB #C38DF1 #E0C3F8

Accessibility & contrast

On white

4.06
#A756EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A756EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A756EB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A756EB#FFFFFF#000000##000000
##A756EB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#337EE8
Tritanopia (blue-blind)
#9B7599
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a756eb;
/* rgb */ color: rgb(167, 86, 235);
/* oklch */ color: oklch(61.9% 0.218 306.0);
Tailwind
colors: {
  custom: {
    50: '#c68af2',
    500: '#a756eb',
    950: '#000000',
  },
}
SCSS
$custom: #a756eb;
$custom-light: #c68af2;
$custom-dark: #000000;
JSON
{
  "hex": "#a756eb",
  "rgb": {
    "r": 167,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 272.617,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61888,
    "c": 0.21847,
    "h": 306
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#A756EB
secondary
#CCE9B4
accent
#DB0A6A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A756EB

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

Preview Lab → · Contrast checker → · Palette generator →

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