#A156F7#A156F7

#A156F7 is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.0% C 0.230 H 301.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A156F7
RGBrgb(161, 86, 247)
HSLhsl(268, 91%, 65%)
HSVhsv(268, 65%, 97%)
CMYKcmyk(34.8%, 65.2%, 0%, 3.1%)
CIE-LABlab(52.89, 60.78, -69.05)
CIE-LCHlch(52.89, 91.99, 311.36°)
OKLaboklab(62.04% 0.1196 -0.1964)
OKLCHoklch(62.04% 0.23 301.3)
XYZxyz(34.8102, 20.9479, 90.1871)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156F7 #ACF756
analogous
#565CF7 #A156F7 #F156F7
triadic
#A156F7 #F7A156 #56F7A1
tetradic
#A156F7 #F7565C #ACF756 #56F7F1
square
#A156F7 #F7565C #ACF756 #56F7F1
split-complementary
#A156F7 #F7F156 #5CF756
monochromatic
#630AC9 #801CF4 #A156F7 #C290FA #E2CBFD

Accessibility & contrast

On white

4.05
#A156F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A156F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156F7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156F7#FFFFFF#000000##000000
##A156F71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#8F7A9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a156f7;
/* rgb */ color: rgb(161, 86, 247);
/* oklch */ color: oklch(62.0% 0.230 301.3);
Tailwind
colors: {
  custom: {
    50: '#c28afb',
    500: '#a156f7',
    950: '#000000',
  },
}
SCSS
$custom: #a156f7;
$custom-light: #c28afb;
$custom-dark: #000000;
JSON
{
  "hex": "#a156f7",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 247
  },
  "hsl": {
    "h": 267.95,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62045,
    "c": 0.22993,
    "h": 301.3
  },
  "luminance": 0.20948
}

Semantic roles & 50–950 ramp

primary
#A156F7
secondary
#D6F0B9
accent
#E6007B
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A156F7

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

Preview Lab → · Contrast checker → · Palette generator →

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