#A45FE3#A45FE3

#A45FE3 is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.2% C 0.197 H 305.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A45FE3
RGBrgb(164, 95, 227)
HSLhsl(271, 70%, 63%)
HSVhsv(271, 58%, 89%)
CMYKcmyk(27.8%, 58.1%, 0%, 11%)
CIE-LABlab(53.62, 52.25, -56.65)
CIE-LCHlch(53.62, 77.07, 312.69°)
OKLaboklab(62.25% 0.1142 -0.1599)
OKLCHoklch(62.25% 0.197 305.5)
XYZxyz(33.2642, 21.6232, 75.0794)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FE3 #9EE35F
analogous
#625FE3 #A45FE3 #E35FE0
triadic
#A45FE3 #E3A45F #5FE3A4
tetradic
#A45FE3 #E3625F #9EE35F #5FE0E3
square
#A45FE3 #E3625F #9EE35F #5FE0E3
split-complementary
#A45FE3 #E0E35F #5FE362
monochromatic
#671EAA #862BDA #A45FE3 #C293EC #DFC7F5

Accessibility & contrast

On white

3.94
#A45FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A45FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FE3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FE3#FFFFFF#000000##000000
##A45FE31.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#267EE7
Deuteranopia (green-blind)
#4580E0
Tritanopia (blue-blind)
#997998
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a45fe3;
/* rgb */ color: rgb(164, 95, 227);
/* oklch */ color: oklch(62.2% 0.197 305.5);
Tailwind
colors: {
  custom: {
    50: '#c38fec',
    500: '#a45fe3',
    950: '#000000',
  },
}
SCSS
$custom: #a45fe3;
$custom-light: #c38fec;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fe3",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 271.364,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62248,
    "c": 0.19653,
    "h": 305.5
  },
  "luminance": 0.21623
}

Semantic roles & 50–950 ramp

primary
#A45FE3
secondary
#CEE7B7
accent
#D2136E
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A45FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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