#A45FE4#A45FE4

#A45FE4 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.3% C 0.198 H 305.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A45FE4
RGBrgb(164, 95, 228)
HSLhsl(271, 71%, 63%)
HSVhsv(271, 58%, 89%)
CMYKcmyk(28.1%, 58.3%, 0%, 10.6%)
CIE-LABlab(53.68, 52.48, -57.12)
CIE-LCHlch(53.68, 77.57, 312.58°)
OKLaboklab(62.31% 0.1142 -0.1613)
OKLCHoklch(62.31% 0.198 305.3)
XYZxyz(33.4026, 21.6786, 75.8084)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FE4 #9FE45F
analogous
#615FE4 #A45FE4 #E45FE1
triadic
#A45FE4 #E4A45F #5FE4A4
tetradic
#A45FE4 #E4615F #9FE45F #5FE1E4
square
#A45FE4 #E4615F #9FE45F #5FE1E4
split-complementary
#A45FE4 #E1E45F #5FE461
monochromatic
#671DAC #862BDB #A45FE4 #C293ED #E0C8F6

Accessibility & contrast

On white

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

On black

5.34
#A45FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FE4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FE4#FFFFFF#000000##000000
##A45FE41.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE8
Deuteranopia (green-blind)
#4481E1
Tritanopia (blue-blind)
#997999
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a45fe4;
/* rgb */ color: rgb(164, 95, 228);
/* oklch */ color: oklch(62.3% 0.198 305.3);
Tailwind
colors: {
  custom: {
    50: '#c38fed',
    500: '#a45fe4',
    950: '#000000',
  },
}
SCSS
$custom: #a45fe4;
$custom-light: #c38fed;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fe4",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 271.128,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6231,
    "c": 0.19764,
    "h": 305.3
  },
  "luminance": 0.21678
}

Semantic roles & 50–950 ramp

primary
#A45FE4
secondary
#CFE7B8
accent
#D3126F
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A45FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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