#A45AFA#A45AFA

#A45AFA is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.1% C 0.229 H 301.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A45AFA
RGBrgb(164, 90, 250)
HSLhsl(268, 94%, 67%)
HSVhsv(268, 64%, 98%)
CMYKcmyk(34.4%, 64%, 0%, 2%)
CIE-LABlab(54.14, 60.16, -68.68)
CIE-LCHlch(54.14, 91.30, 311.22°)
OKLaboklab(63.08% 0.1189 -0.1952)
OKLCHoklch(63.08% 0.229 301.3)
XYZxyz(36.2172, 22.1068, 92.7829)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AFA #B0FA5A
analogous
#5A60FA #A45AFA #F45AFA
triadic
#A45AFA #FAA45A #5AFAA4
tetradic
#A45AFA #FA5A60 #B0FA5A #5AFAF4
square
#A45AFA #FA5A60 #B0FA5A #5AFAF4
split-complementary
#A45AFA #FAF45A #60FA5A
monochromatic
#6506D3 #831FF8 #A45AFA #C595FC #E6D1FE

Accessibility & contrast

On white

3.87
#A45AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#A45AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45AFA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AFA#FFFFFF#000000##000000
##A45AFA1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#1381F7
Tritanopia (blue-blind)
#927EA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a45afa;
/* rgb */ color: rgb(164, 90, 250);
/* oklch */ color: oklch(63.1% 0.229 301.3);
Tailwind
colors: {
  custom: {
    50: '#c48dfd',
    500: '#a45afa',
    950: '#000000',
  },
}
SCSS
$custom: #a45afa;
$custom-light: #c48dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45afa",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 250
  },
  "hsl": {
    "h": 267.75,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63083,
    "c": 0.22861,
    "h": 301.3
  },
  "luminance": 0.22107
}

Semantic roles & 50–950 ramp

primary
#A45AFA
secondary
#DAF2BE
accent
#E6007B
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A45AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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