#A756E6#A756E6

#A756E6 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.213 H 307.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A756E6
RGBrgb(167, 86, 230)
HSLhsl(274, 74%, 62%)
HSVhsv(274, 63%, 90%)
CMYKcmyk(27.4%, 62.6%, 0%, 9.8%)
CIE-LABlab(52.49, 58.12, -60.14)
CIE-LCHlch(52.49, 83.63, 314.02°)
OKLaboklab(61.56% 0.1286 -0.17)
OKLCHoklch(61.56% 0.213 307.1)
XYZxyz(33.5441, 20.5846, 77.0537)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A756E6 #95E656
analogous
#5F56E6 #A756E6 #E656DD
triadic
#A756E6 #E6A756 #56E6A7
tetradic
#A756E6 #E65F56 #95E656 #56DDE6
square
#A756E6 #E65F56 #95E656 #56DDE6
split-complementary
#A756E6 #DDE656 #56E65F
monochromatic
#6A19A9 #8B21DE #A756E6 #C38BEE #DFC1F6

Accessibility & contrast

On white

4.10
#A756E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A756E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A756E6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A756E6#FFFFFF#000000##000000
##A756E61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#9D7496
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a756e6;
/* rgb */ color: rgb(167, 86, 230);
/* oklch */ color: oklch(61.6% 0.213 307.1);
Tailwind
colors: {
  custom: {
    50: '#c58aef',
    500: '#a756e6',
    950: '#000000',
  },
}
SCSS
$custom: #a756e6;
$custom-light: #c58aef;
$custom-dark: #000000;
JSON
{
  "hex": "#a756e6",
  "rgb": {
    "r": 167,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 273.75,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6156,
    "c": 0.2132,
    "h": 307.1
  },
  "luminance": 0.20584
}

Semantic roles & 50–950 ramp

primary
#A756E6
secondary
#C9E6B1
accent
#D60F66
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A756E6

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

Preview Lab → · Contrast checker → · Palette generator →

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