#A45FE8#A45FE8

#A45FE8 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.6% C 0.202 H 304.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A45FE8
RGBrgb(164, 95, 232)
HSLhsl(270, 75%, 64%)
HSVhsv(270, 59%, 91%)
CMYKcmyk(29.3%, 59.1%, 0%, 9%)
CIE-LABlab(53.92, 53.41, -58.98)
CIE-LCHlch(53.92, 79.57, 312.17°)
OKLaboklab(62.56% 0.1142 -0.1668)
OKLCHoklch(62.56% 0.202 304.4)
XYZxyz(33.9643, 21.9033, 78.7667)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FE8 #A3E85F
analogous
#605FE8 #A45FE8 #E85FE7
triadic
#A45FE8 #E8A45F #5FE8A4
tetradic
#A45FE8 #E8605F #A3E85F #5FE7E8
square
#A45FE8 #E8605F #A3E85F #5FE7E8
split-complementary
#A45FE8 #E7E85F #5FE860
monochromatic
#671AB3 #8629E0 #A45FE8 #C295F0 #E1CAF7

Accessibility & contrast

On white

3.90
#A45FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#A45FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FE8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FE8#FFFFFF#000000##000000
##A45FE81.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7FEC
Deuteranopia (green-blind)
#4081E5
Tritanopia (blue-blind)
#987B9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a45fe8;
/* rgb */ color: rgb(164, 95, 232);
/* oklch */ color: oklch(62.6% 0.202 304.4);
Tailwind
colors: {
  custom: {
    50: '#c38ff0',
    500: '#a45fe8',
    950: '#000000',
  },
}
SCSS
$custom: #a45fe8;
$custom-light: #c38ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fe8",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 270.219,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62563,
    "c": 0.20211,
    "h": 304.4
  },
  "luminance": 0.21903
}

Semantic roles & 50–950 ramp

primary
#A45FE8
secondary
#D1E9BA
accent
#D70E72
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A45FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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