#A756E4#A756E4

#A756E4 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.211 H 307.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A756E4
RGBrgb(167, 86, 228)
HSLhsl(274, 72%, 62%)
HSVhsv(274, 62%, 89%)
CMYKcmyk(26.8%, 62.3%, 0%, 10.6%)
CIE-LABlab(52.37, 57.67, -59.21)
CIE-LCHlch(52.37, 82.65, 314.25°)
OKLaboklab(61.43% 0.1287 -0.1673)
OKLCHoklch(61.43% 0.211 307.6)
XYZxyz(33.2648, 20.4729, 75.5830)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A756E4 #93E456
analogous
#6056E4 #A756E4 #E456DA
triadic
#A756E4 #E4A756 #56E4A7
tetradic
#A756E4 #E46056 #93E456 #56DAE4
square
#A756E4 #E46056 #93E456 #56DAE4
split-complementary
#A756E4 #DAE456 #56E460
monochromatic
#6A1AA5 #8B23DA #A756E4 #C28BEC #DEC0F5

Accessibility & contrast

On white

4.12
#A756E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A756E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A756E4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A756E4#FFFFFF#000000##000000
##A756E41.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#3C7EE1
Tritanopia (blue-blind)
#9D7395
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a756e4;
/* rgb */ color: rgb(167, 86, 228);
/* oklch */ color: oklch(61.4% 0.211 307.6);
Tailwind
colors: {
  custom: {
    50: '#c58aed',
    500: '#a756e4',
    950: '#000000',
  },
}
SCSS
$custom: #a756e4;
$custom-light: #c58aed;
$custom-dark: #000000;
JSON
{
  "hex": "#a756e4",
  "rgb": {
    "r": 167,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 274.225,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.2111,
    "h": 307.6
  },
  "luminance": 0.20473
}

Semantic roles & 50–950 ramp

primary
#A756E4
secondary
#C7E5B0
accent
#D51165
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A756E4

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

Preview Lab → · Contrast checker → · Palette generator →

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