#A45AF0#A45AF0

#A45AF0 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.4% C 0.218 H 303.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A45AF0
RGBrgb(164, 90, 240)
HSLhsl(270, 83%, 65%)
HSVhsv(270, 63%, 94%)
CMYKcmyk(31.7%, 62.5%, 0%, 5.9%)
CIE-LABlab(53.49, 57.80, -64.16)
CIE-LCHlch(53.49, 86.36, 312.02°)
OKLaboklab(62.41% 0.1197 -0.182)
OKLCHoklch(62.41% 0.218 303.3)
XYZxyz(34.6906, 21.4962, 84.7428)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AF0 #A6F05A
analogous
#5A5BF0 #A45AF0 #EF5AF0
triadic
#A45AF0 #F0A45A #5AF0A4
tetradic
#A45AF0 #F05A5B #A6F05A #5AF0EF
square
#A45AF0 #F05A5B #A6F05A #5AF0EF
split-complementary
#A45AF0 #F0EF5A #5BF05A
monochromatic
#6711BE #8522EB #A45AF0 #C392F5 #E2CAFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A45AF0#FFFFFF#000000##000000
##A45AF01.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)
#007EF5
Deuteranopia (green-blind)
#2D80ED
Tritanopia (blue-blind)
#957A9D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a45af0;
/* rgb */ color: rgb(164, 90, 240);
/* oklch */ color: oklch(62.4% 0.218 303.3);
Tailwind
colors: {
  custom: {
    50: '#c48cf6',
    500: '#a45af0',
    950: '#000000',
  },
}
SCSS
$custom: #a45af0;
$custom-light: #c48cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#a45af0",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 269.6,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62405,
    "c": 0.21779,
    "h": 303.3
  },
  "luminance": 0.21496
}

Semantic roles & 50–950 ramp

primary
#A45AF0
secondary
#D3EDB9
accent
#E00674
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A45AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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