#A45BBB#A45BBB

#A45BBB is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.3% C 0.159 H 317.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A45BBB
RGBrgb(164, 91, 187)
HSLhsl(286, 41%, 55%)
HSVhsv(286, 51%, 73%)
CMYKcmyk(12.3%, 51.3%, 0%, 26.7%)
CIE-LABlab(50.64, 45.51, -38.56)
CIE-LCHlch(50.64, 59.65, 319.73°)
OKLaboklab(59.35% 0.1172 -0.1071)
OKLCHoklch(59.35% 0.159 317.6)
XYZxyz(28.0193, 18.9635, 49.1884)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BBB #72BB5B
analogous
#745BBB #A45BBB #BB5BA2
triadic
#A45BBB #BBA45B #5BBBA4
tetradic
#A45BBB #BB745B #72BB5B #5BA2BB
square
#A45BBB #BB745B #72BB5B #5BA2BB
split-complementary
#A45BBB #A2BB5B #5BBB74
monochromatic
#5F2E6E #844099 #A45BBB #BC86CD #D4B2DF

Accessibility & contrast

On white

4.38
#A45BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A45BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BBB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BBB#FFFFFF#000000##000000
##A45BBB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#5E7BB8
Tritanopia (blue-blind)
#A46983
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a45bbb;
/* rgb */ color: rgb(164, 91, 187);
/* oklch */ color: oklch(59.3% 0.159 317.6);
Tailwind
colors: {
  custom: {
    50: '#c18cd0',
    500: '#a45bbb',
    950: '#000000',
  },
}
SCSS
$custom: #a45bbb;
$custom-light: #c18cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bbb",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 285.625,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.1588,
    "h": 317.6
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

primary
#A45BBB
secondary
#AECDA5
accent
#D15774
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A45BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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