#A45FC2#A45FC2

#A45FC2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.3% C 0.160 H 314.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A45FC2
RGBrgb(164, 95, 194)
HSLhsl(282, 45%, 57%)
HSVhsv(282, 51%, 76%)
CMYKcmyk(15.5%, 51%, 0%, 23.9%)
CIE-LABlab(51.81, 44.87, -40.76)
CIE-LCHlch(51.81, 60.62, 317.75°)
OKLaboklab(60.32% 0.1125 -0.1135)
OKLCHoklch(60.32% 0.16 314.7)
XYZxyz(29.1381, 19.9728, 53.3487)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FC2 #7DC25F
analogous
#735FC2 #A45FC2 #C25FAF
triadic
#A45FC2 #C2A45F #5FC2A4
tetradic
#A45FC2 #C2735F #7DC25F #5FAFC2
square
#A45FC2 #C2735F #7DC25F #5FAFC2
split-complementary
#A45FC2 #AFC25F #5FC273
monochromatic
#622E79 #863FA5 #A45FC2 #BD8BD3 #D6B8E4

Accessibility & contrast

On white

4.20
#A45FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A45FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FC2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FC2#FFFFFF#000000##000000
##A45FC21.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4977C5
Deuteranopia (green-blind)
#5E7DBF
Tritanopia (blue-blind)
#A26E88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45fc2;
/* rgb */ color: rgb(164, 95, 194);
/* oklch */ color: oklch(60.3% 0.160 314.7);
Tailwind
colors: {
  custom: {
    50: '#c18fd5',
    500: '#a45fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a45fc2;
$custom-light: #c18fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fc2",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 281.818,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60323,
    "c": 0.15981,
    "h": 314.7
  },
  "luminance": 0.19972
}

Semantic roles & 50–950 ramp

primary
#A45FC2
secondary
#B6D3AA
accent
#D4537A
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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