#A45FC9#A45FC9

#A45FC9 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.168 H 312.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A45FC9
RGBrgb(164, 95, 201)
HSLhsl(279, 50%, 58%)
HSVhsv(279, 53%, 79%)
CMYKcmyk(18.4%, 52.7%, 0%, 21.2%)
CIE-LABlab(52.17, 46.38, -44.21)
CIE-LCHlch(52.17, 64.08, 316.38°)
OKLaboklab(60.71% 0.1132 -0.1235)
OKLCHoklch(60.71% 0.168 312.5)
XYZxyz(29.9428, 20.2947, 57.5869)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FC9 #84C95F
analogous
#6F5FC9 #A45FC9 #C95FB9
triadic
#A45FC9 #C9A45F #5FC9A4
tetradic
#A45FC9 #C96F5F #84C95F #5FB9C9
square
#A45FC9 #C96F5F #84C95F #5FB9C9
split-complementary
#A45FC9 #B9C95F #5FC96F
monochromatic
#642C82 #873BB0 #A45FC9 #BE8DD8 #D8BBE8

Accessibility & contrast

On white

4.15
#A45FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A45FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FC9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FC9#FFFFFF#000000##000000
##A45FC91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4479CD
Deuteranopia (green-blind)
#5A7EC6
Tritanopia (blue-blind)
#A0718B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45fc9;
/* rgb */ color: rgb(164, 95, 201);
/* oklch */ color: oklch(60.7% 0.168 312.5);
Tailwind
colors: {
  custom: {
    50: '#c18fda',
    500: '#a45fc9',
    950: '#000000',
  },
}
SCSS
$custom: #a45fc9;
$custom-light: #c18fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fc9",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 279.057,
    "s": 49.533,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.16753,
    "h": 312.5
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#A45FC9
secondary
#BCD7AD
accent
#D94F7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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