#A45FDA#A45FDA

#A45FDA is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.7% C 0.186 H 307.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A45FDA
RGBrgb(164, 95, 218)
HSLhsl(274, 62%, 61%)
HSVhsv(274, 56%, 85%)
CMYKcmyk(24.8%, 56.4%, 0%, 14.5%)
CIE-LABlab(53.10, 50.18, -52.40)
CIE-LCHlch(53.10, 72.56, 313.76°)
OKLaboklab(61.7% 0.1141 -0.1475)
OKLCHoklch(61.7% 0.186 307.7)
XYZxyz(32.0544, 21.1393, 68.7077)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FDA #95DA5F
analogous
#675FDA #A45FDA #DA5FD2
triadic
#A45FDA #DAA45F #5FDAA4
tetradic
#A45FDA #DA675F #95DA5F #5FD2DA
square
#A45FDA #DA675F #95DA5F #5FD2DA
split-complementary
#A45FDA #D2DA5F #5FDA67
monochromatic
#67249B #872FCD #A45FDA #C091E5 #DDC2F1

Accessibility & contrast

On white

4.02
#A45FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A45FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FDA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FDA#FFFFFF#000000##000000
##A45FDA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#337CDE
Deuteranopia (green-blind)
#4D80D7
Tritanopia (blue-blind)
#9C7693
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45fda;
/* rgb */ color: rgb(164, 95, 218);
/* oklch */ color: oklch(61.7% 0.186 307.7);
Tailwind
colors: {
  custom: {
    50: '#c28fe6',
    500: '#a45fda',
    950: '#000000',
  },
}
SCSS
$custom: #a45fda;
$custom-light: #c28fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fda",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 273.659,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61697,
    "c": 0.18646,
    "h": 307.7
  },
  "luminance": 0.21139
}

Semantic roles & 50–950 ramp

primary
#A45FDA
secondary
#C8E1B3
accent
#CA1B68
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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