#A45BCF#A45BCF

#A45BCF is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.180 H 311.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A45BCF
RGBrgb(164, 91, 207)
HSLhsl(278, 55%, 58%)
HSVhsv(278, 56%, 81%)
CMYKcmyk(20.8%, 56%, 0%, 18.8%)
CIE-LABlab(51.70, 49.79, -48.38)
CIE-LCHlch(51.70, 69.42, 315.82°)
OKLaboklab(60.47% 0.1188 -0.1357)
OKLCHoklch(60.47% 0.18 311.2)
XYZxyz(30.3114, 19.8803, 61.2599)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BCF #86CF5B
analogous
#6A5BCF #A45BCF #CF5BC0
triadic
#A45BCF #CFA45B #5BCFA4
tetradic
#A45BCF #CF6A5B #86CF5B #5BC0CF
square
#A45BCF #CF6A5B #86CF5B #5BC0CF
split-complementary
#A45BCF #C0CF5B #5BCF6A
monochromatic
#642888 #8736B7 #A45BCF #BE8ADD #D9BAEB

Accessibility & contrast

On white

4.22
#A45BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A45BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BCF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BCF#FFFFFF#000000##000000
##A45BCF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3778D3
Deuteranopia (green-blind)
#527DCC
Tritanopia (blue-blind)
#9F6F8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45bcf;
/* rgb */ color: rgb(164, 91, 207);
/* oklch */ color: oklch(60.5% 0.180 311.2);
Tailwind
colors: {
  custom: {
    50: '#c28cde',
    500: '#a45bcf',
    950: '#000000',
  },
}
SCSS
$custom: #a45bcf;
$custom-light: #c28cde;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bcf",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 277.759,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.18038,
    "h": 311.2
  },
  "luminance": 0.1988
}

Semantic roles & 50–950 ramp

primary
#A45BCF
secondary
#BDDAAC
accent
#DE4A81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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