#A456B2#A456B2

#A456B2 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.1% C 0.158 H 321.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A456B2
RGBrgb(164, 86, 178)
HSLhsl(291, 37%, 52%)
HSVhsv(291, 52%, 70%)
CMYKcmyk(7.9%, 51.7%, 0%, 30.2%)
CIE-LABlab(49.21, 46.28, -35.59)
CIE-LCHlch(49.21, 58.38, 322.44°)
OKLaboklab(58.14% 0.1232 -0.0985)
OKLCHoklch(58.14% 0.158 321.4)
XYZxyz(26.6726, 17.7636, 44.1346)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456B2 #64B256
analogous
#7656B2 #A456B2 #B25692
triadic
#A456B2 #B2A456 #56B2A4
tetradic
#A456B2 #B27656 #64B256 #5692B2
square
#A456B2 #B27656 #64B256 #5692B2
split-complementary
#A456B2 #92B256 #56B276
monochromatic
#592C61 #803F8B #A456B2 #BB80C5 #D1AAD8

Accessibility & contrast

On white

4.61
#A456B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A456B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A456B2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456B2#FFFFFF#000000##FFFFFF
##A456B21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#5F78AF
Tritanopia (blue-blind)
#A6627C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a456b2;
/* rgb */ color: rgb(164, 86, 178);
/* oklch */ color: oklch(58.1% 0.158 321.4);
Tailwind
colors: {
  custom: {
    50: '#c189c9',
    500: '#a456b2',
    950: '#000000',
  },
}
SCSS
$custom: #a456b2;
$custom-light: #c189c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a456b2",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 290.87,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58142,
    "c": 0.15768,
    "h": 321.4
  },
  "luminance": 0.17762
}

Semantic roles & 50–950 ramp

primary
#A456B2
secondary
#A4C69E
accent
#CD5A6C
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #A456B2

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

Preview Lab → · Contrast checker → · Palette generator →

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