#A45FF5#A45FF5

#A45FF5 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.4% C 0.217 H 301.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A45FF5
RGBrgb(164, 95, 245)
HSLhsl(268, 88%, 67%)
HSVhsv(268, 61%, 96%)
CMYKcmyk(33.1%, 61.2%, 0%, 3.9%)
CIE-LABlab(54.73, 56.49, -64.95)
CIE-LCHlch(54.73, 86.08, 311.01°)
OKLaboklab(63.41% 0.1138 -0.1843)
OKLCHoklch(63.41% 0.217 301.7)
XYZxyz(35.8796, 22.6694, 88.8539)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FF5 #B0F55F
analogous
#5F65F5 #A45FF5 #EF5FF5
triadic
#A45FF5 #F5A45F #5FF5A4
tetradic
#A45FF5 #F55F65 #B0F55F #5FF5EF
square
#A45FF5 #F55F65 #B0F55F #5FF5EF
split-complementary
#A45FF5 #F5EF5F #65F55F
monochromatic
#650DCD #8325F1 #A45FF5 #C599F9 #E6D2FC

Accessibility & contrast

On white

3.79
#A45FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#A45FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FF5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FF5#FFFFFF#000000##000000
##A45FF51.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#2D82F2
Tritanopia (blue-blind)
#947FA1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a45ff5;
/* rgb */ color: rgb(164, 95, 245);
/* oklch */ color: oklch(63.4% 0.217 301.7);
Tailwind
colors: {
  custom: {
    50: '#c490f9',
    500: '#a45ff5',
    950: '#000000',
  },
}
SCSS
$custom: #a45ff5;
$custom-light: #c490f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ff5",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 267.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63406,
    "c": 0.21657,
    "h": 301.7
  },
  "luminance": 0.2267
}

Semantic roles & 50–950 ramp

primary
#A45FF5
secondary
#DAF0C0
accent
#E5017C
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A45FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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