#A45BCB#A45BCB

#A45BCB is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.176 H 312.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A45BCB
RGBrgb(164, 91, 203)
HSLhsl(279, 52%, 58%)
HSVhsv(279, 55%, 80%)
CMYKcmyk(19.2%, 55.2%, 0%, 20.4%)
CIE-LABlab(51.48, 48.91, -46.44)
CIE-LCHlch(51.48, 67.45, 316.48°)
OKLaboklab(60.24% 0.1186 -0.13)
OKLCHoklch(60.24% 0.176 312.4)
XYZxyz(29.8285, 19.6872, 58.7170)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BCB #82CB5B
analogous
#6C5BCB #A45BCB #CB5BBA
triadic
#A45BCB #CBA45B #5BCBA4
tetradic
#A45BCB #CB6C5B #82CB5B #5BBACB
square
#A45BCB #CB6C5B #82CB5B #5BBACB
split-complementary
#A45BCB #BACB5B #5BCB6C
monochromatic
#632982 #8738B1 #A45BCB #BE89DA #D8B8E8

Accessibility & contrast

On white

4.25
#A45BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A45BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BCB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BCB#FFFFFF#000000##000000
##A45BCB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B77CF
Deuteranopia (green-blind)
#557CC8
Tritanopia (blue-blind)
#A06E8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45bcb;
/* rgb */ color: rgb(164, 91, 203);
/* oklch */ color: oklch(60.2% 0.176 312.4);
Tailwind
colors: {
  custom: {
    50: '#c28cdb',
    500: '#a45bcb',
    950: '#000000',
  },
}
SCSS
$custom: #a45bcb;
$custom-light: #c28cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bcb",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 279.107,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60238,
    "c": 0.17603,
    "h": 312.4
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#A45BCB
secondary
#BAD7AA
accent
#DB4C7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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