#A756E2#A756E2

#A756E2 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.209 H 308.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A756E2
RGBrgb(167, 86, 226)
HSLhsl(275, 71%, 61%)
HSVhsv(275, 62%, 89%)
CMYKcmyk(26.1%, 61.9%, 0%, 11.4%)
CIE-LABlab(52.24, 57.22, -58.28)
CIE-LCHlch(52.24, 81.68, 314.48°)
OKLaboklab(61.3% 0.1288 -0.1646)
OKLCHoklch(61.3% 0.209 308)
XYZxyz(32.9888, 20.3625, 74.1293)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A756E2 #91E256
analogous
#6156E2 #A756E2 #E256D7
triadic
#A756E2 #E2A756 #56E2A7
tetradic
#A756E2 #E26156 #91E256 #56D7E2
square
#A756E2 #E26156 #91E256 #56D7E2
split-complementary
#A756E2 #D7E256 #56E261
monochromatic
#691CA2 #8B25D6 #A756E2 #C28AEB #DDBEF4

Accessibility & contrast

On white

4.14
#A756E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A756E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A756E2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A756E2#FFFFFF#000000##000000
##A756E21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0379E6
Deuteranopia (green-blind)
#3E7EDF
Tritanopia (blue-blind)
#9E7294
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a756e2;
/* rgb */ color: rgb(167, 86, 226);
/* oklch */ color: oklch(61.3% 0.209 308.0);
Tailwind
colors: {
  custom: {
    50: '#c58aec',
    500: '#a756e2',
    950: '#000000',
  },
}
SCSS
$custom: #a756e2;
$custom-light: #c58aec;
$custom-dark: #000000;
JSON
{
  "hex": "#a756e2",
  "rgb": {
    "r": 167,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 274.714,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.20899,
    "h": 308
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#A756E2
secondary
#C6E4B0
accent
#D31364
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A756E2

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

Preview Lab → · Contrast checker → · Palette generator →

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