#A45FCA#A45FCA

#A45FCA is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.169 H 312.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A45FCA
RGBrgb(164, 95, 202)
HSLhsl(279, 50%, 58%)
HSVhsv(279, 53%, 79%)
CMYKcmyk(18.8%, 53%, 0%, 20.8%)
CIE-LABlab(52.22, 46.60, -44.70)
CIE-LCHlch(52.22, 64.57, 316.20°)
OKLaboklab(60.77% 0.1132 -0.125)
OKLCHoklch(60.77% 0.169 312.2)
XYZxyz(30.0608, 20.3419, 58.2085)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FCA #85CA5F
analogous
#6E5FCA #A45FCA #CA5FBA
triadic
#A45FCA #CAA45F #5FCAA4
tetradic
#A45FCA #CA6E5F #85CA5F #5FBACA
square
#A45FCA #CA6E5F #85CA5F #5FBACA
split-complementary
#A45FCA #BACA5F #5FCA6E
monochromatic
#642B83 #873BB1 #A45FCA #BE8DD9 #D8BBE8

Accessibility & contrast

On white

4.14
#A45FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A45FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FCA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FCA#FFFFFF#000000##000000
##A45FCA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#A0718C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45fca;
/* rgb */ color: rgb(164, 95, 202);
/* oklch */ color: oklch(60.8% 0.169 312.2);
Tailwind
colors: {
  custom: {
    50: '#c18fda',
    500: '#a45fca',
    950: '#000000',
  },
}
SCSS
$custom: #a45fca;
$custom-light: #c18fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fca",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 278.692,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.16864,
    "h": 312.2
  },
  "luminance": 0.20341
}

Semantic roles & 50–950 ramp

primary
#A45FCA
secondary
#BCD8AD
accent
#DA4E80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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