#A156DB#A156DB

#A156DB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.2% C 0.200 H 307.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A156DB
RGBrgb(161, 86, 219)
HSLhsl(274, 65%, 60%)
HSVhsv(274, 61%, 86%)
CMYKcmyk(26.5%, 60.7%, 0%, 14.1%)
CIE-LABlab(51.09, 54.28, -56.21)
CIE-LCHlch(51.09, 78.14, 314.00°)
OKLaboklab(60.17% 0.1214 -0.1587)
OKLCHoklch(60.17% 0.2 307.4)
XYZxyz(30.8093, 19.3475, 69.1155)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156DB #90DB56
analogous
#5F56DB #A156DB #DB56D2
triadic
#A156DB #DBA156 #56DBA1
tetradic
#A156DB #DB5F56 #90DB56 #56D2DB
square
#A156DB #DB5F56 #90DB56 #56D2DB
split-complementary
#A156DB #D2DB56 #56DB5F
monochromatic
#632097 #842BC9 #A156DB #BD88E6 #D9BBF0

Accessibility & contrast

On white

4.31
#A156DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A156DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156DB#FFFFFF#000000##000000
##A156DB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1477DF
Deuteranopia (green-blind)
#3F7AD8
Tritanopia (blue-blind)
#987091
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a156db;
/* rgb */ color: rgb(161, 86, 219);
/* oklch */ color: oklch(60.2% 0.200 307.4);
Tailwind
colors: {
  custom: {
    50: '#c189e7',
    500: '#a156db',
    950: '#000000',
  },
}
SCSS
$custom: #a156db;
$custom-light: #c189e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a156db",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 273.835,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60171,
    "c": 0.19981,
    "h": 307.4
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#A156DB
secondary
#C3E0AD
accent
#E84089
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A156DB

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

Preview Lab → · Contrast checker → · Palette generator →

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