#A45BCA#A45BCA

#A45BCA is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.2% C 0.175 H 312.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A45BCA
RGBrgb(164, 91, 202)
HSLhsl(279, 51%, 57%)
HSVhsv(279, 55%, 79%)
CMYKcmyk(18.8%, 55%, 0%, 20.8%)
CIE-LABlab(51.43, 48.70, -45.96)
CIE-LCHlch(51.43, 66.96, 316.66°)
OKLaboklab(60.18% 0.1186 -0.1286)
OKLCHoklch(60.18% 0.175 312.7)
XYZxyz(29.7097, 19.6397, 58.0914)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BCA #81CA5B
analogous
#6C5BCA #A45BCA #CA5BB9
triadic
#A45BCA #CAA45B #5BCAA4
tetradic
#A45BCA #CA6C5B #81CA5B #5BB9CA
square
#A45BCA #CA6C5B #81CA5B #5BB9CA
split-complementary
#A45BCA #B9CA5B #5BCA6C
monochromatic
#632A81 #8739AF #A45BCA #BE89D9 #D7B8E8

Accessibility & contrast

On white

4.26
#A45BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A45BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BCA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BCA#FFFFFF#000000##000000
##A45BCA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a45bca;
/* rgb */ color: rgb(164, 91, 202);
/* oklch */ color: oklch(60.2% 0.175 312.7);
Tailwind
colors: {
  custom: {
    50: '#c28cda',
    500: '#a45bca',
    950: '#000000',
  },
}
SCSS
$custom: #a45bca;
$custom-light: #c28cda;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bca",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 279.459,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.17494,
    "h": 312.7
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#A45BCA
secondary
#B9D7AA
accent
#DB4D7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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