#A45FCE#A45FCE

#A45FCE is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.0% C 0.173 H 311.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A45FCE
RGBrgb(164, 95, 206)
HSLhsl(277, 53%, 59%)
HSVhsv(277, 54%, 81%)
CMYKcmyk(20.4%, 53.9%, 0%, 19.2%)
CIE-LABlab(52.44, 47.48, -46.64)
CIE-LCHlch(52.44, 66.56, 315.51°)
OKLaboklab(60.99% 0.1135 -0.1306)
OKLCHoklch(60.99% 0.173 311)
XYZxyz(30.5406, 20.5338, 60.7351)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FCE #89CE5F
analogous
#6D5FCE #A45FCE #CE5FC1
triadic
#A45FCE #CEA45F #5FCEA4
tetradic
#A45FCE #CE6D5F #89CE5F #5FC1CE
square
#A45FCE #CE6D5F #89CE5F #5FC1CE
split-complementary
#A45FCE #C1CE5F #5FCE6D
monochromatic
#652A89 #8738B8 #A45FCE #BF8EDC #D9BDEB

Accessibility & contrast

On white

4.11
#A45FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A45FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FCE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FCE#FFFFFF#000000##000000
##A45FCE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#407AD2
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#9F728E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45fce;
/* rgb */ color: rgb(164, 95, 206);
/* oklch */ color: oklch(61.0% 0.173 311.0);
Tailwind
colors: {
  custom: {
    50: '#c18fdd',
    500: '#a45fce',
    950: '#000000',
  },
}
SCSS
$custom: #a45fce;
$custom-light: #c18fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fce",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 277.297,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.17309,
    "h": 311
  },
  "luminance": 0.20533
}

Semantic roles & 50–950 ramp

primary
#A45FCE
secondary
#BFDAAF
accent
#DD4B82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #A45FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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