#A45FE1#A45FE1

#A45FE1 is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.1% C 0.194 H 306.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A45FE1
RGBrgb(164, 95, 225)
HSLhsl(272, 68%, 63%)
HSVhsv(272, 58%, 88%)
CMYKcmyk(27.1%, 57.8%, 0%, 11.8%)
CIE-LABlab(53.51, 51.79, -55.71)
CIE-LCHlch(53.51, 76.06, 312.91°)
OKLaboklab(62.12% 0.1142 -0.1572)
OKLCHoklch(62.12% 0.194 306)
XYZxyz(32.9898, 21.5135, 73.6341)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FE1 #9CE15F
analogous
#635FE1 #A45FE1 #E15FDD
triadic
#A45FE1 #E1A45F #5FE1A4
tetradic
#A45FE1 #E1635F #9CE15F #5FDDE1
square
#A45FE1 #E1635F #9CE15F #5FDDE1
split-complementary
#A45FE1 #DDE15F #5FE163
monochromatic
#671FA6 #872BD7 #A45FE1 #C193EB #DFC6F4

Accessibility & contrast

On white

3.96
#A45FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#A45FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FE1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FE1#FFFFFF#000000##000000
##A45FE11.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7EE5
Deuteranopia (green-blind)
#4780DE
Tritanopia (blue-blind)
#9A7897
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a45fe1;
/* rgb */ color: rgb(164, 95, 225);
/* oklch */ color: oklch(62.1% 0.194 306.0);
Tailwind
colors: {
  custom: {
    50: '#c28feb',
    500: '#a45fe1',
    950: '#000000',
  },
}
SCSS
$custom: #a45fe1;
$custom-light: #c28feb;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fe1",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 271.846,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62124,
    "c": 0.19429,
    "h": 306
  },
  "luminance": 0.21513
}

Semantic roles & 50–950 ramp

primary
#A45FE1
secondary
#CCE5B6
accent
#D0156D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A45FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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