#A45FCF#A45FCF

#A45FCF is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.0% C 0.174 H 310.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A45FCF
RGBrgb(164, 95, 207)
HSLhsl(277, 54%, 59%)
HSVhsv(277, 54%, 81%)
CMYKcmyk(20.8%, 54.1%, 0%, 18.8%)
CIE-LABlab(52.49, 47.71, -47.13)
CIE-LCHlch(52.49, 67.06, 315.35°)
OKLaboklab(61.05% 0.1136 -0.1321)
OKLCHoklch(61.05% 0.174 310.7)
XYZxyz(30.6625, 20.5825, 61.3769)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FCF #8ACF5F
analogous
#6C5FCF #A45FCF #CF5FC2
triadic
#A45FCF #CFA45F #5FCFA4
tetradic
#A45FCF #CF6C5F #8ACF5F #5FC2CF
square
#A45FCF #CF6C5F #8ACF5F #5FC2CF
split-complementary
#A45FCF #C2CF5F #5FCF6C
monochromatic
#65298A #8738B9 #A45FCF #BF8EDD #DABDEB

Accessibility & contrast

On white

4.10
#A45FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A45FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FCF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FCF#FFFFFF#000000##000000
##A45FCF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#567FCC
Tritanopia (blue-blind)
#9F728E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45fcf;
/* rgb */ color: rgb(164, 95, 207);
/* oklch */ color: oklch(61.0% 0.174 310.7);
Tailwind
colors: {
  custom: {
    50: '#c28fde',
    500: '#a45fcf',
    950: '#000000',
  },
}
SCSS
$custom: #a45fcf;
$custom-light: #c28fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fcf",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 276.964,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.17419,
    "h": 310.7
  },
  "luminance": 0.20582
}

Semantic roles & 50–950 ramp

primary
#A45FCF
secondary
#C0DBAF
accent
#DD4B83
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #A45FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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