#A56BBB#A56BBB

#A56BBB is a mid, vivid purple. Relative luminance 0.221; OKLCH L 62.0% C 0.132 H 316.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A56BBB
RGBrgb(165, 107, 187)
HSLhsl(284, 37%, 58%)
HSVhsv(284, 43%, 73%)
CMYKcmyk(11.8%, 42.8%, 0%, 26.7%)
CIE-LABlab(54.14, 37.15, -33.07)
CIE-LCHlch(54.14, 49.73, 318.32°)
OKLaboklab(61.98% 0.0954 -0.0913)
OKLCHoklch(61.98% 0.132 316.3)
XYZxyz(29.7431, 22.1034, 49.7037)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BBB #81BB6B
analogous
#7D6BBB #A56BBB #BB6BA9
triadic
#A56BBB #BBA56B #6BBBA5
tetradic
#A56BBB #BB7D6B #81BB6B #6BA9BB
square
#A56BBB #BB7D6B #81BB6B #6BA9BB
split-complementary
#A56BBB #A9BB6B #6BBB7D
monochromatic
#643676 #8849A0 #A56BBB #BE95CE #D8BFE2

Accessibility & contrast

On white

3.87
#A56BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#A56BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BBB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BBB#FFFFFF#000000##000000
##A56BBB1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBE
Deuteranopia (green-blind)
#6D83B9
Tritanopia (blue-blind)
#A4768A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a56bbb;
/* rgb */ color: rgb(165, 107, 187);
/* oklch */ color: oklch(62.0% 0.132 316.3);
Tailwind
colors: {
  custom: {
    50: '#c196cf',
    500: '#a56bbb',
    950: '#000000',
  },
}
SCSS
$custom: #a56bbb;
$custom-light: #c196cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bbb",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 283.5,
    "s": 37.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61975,
    "c": 0.13211,
    "h": 316.3
  },
  "luminance": 0.22103
}

Semantic roles & 50–950 ramp

primary
#A56BBB
secondary
#BAD1B1
accent
#CD5B7A
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A56BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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