#A45FEA#A45FEA

#A45FEA is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.7% C 0.204 H 304.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A45FEA
RGBrgb(164, 95, 234)
HSLhsl(270, 77%, 65%)
HSVhsv(270, 59%, 92%)
CMYKcmyk(29.9%, 59.4%, 0%, 8.2%)
CIE-LABlab(54.05, 53.88, -59.91)
CIE-LCHlch(54.05, 80.57, 311.97°)
OKLaboklab(62.69% 0.1142 -0.1695)
OKLCHoklch(62.69% 0.204 304)
XYZxyz(34.2500, 22.0175, 80.2714)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FEA #A5EA5F
analogous
#5F60EA #A45FEA #EA5FEA
triadic
#A45FEA #EAA45F #5FEAA4
tetradic
#A45FEA #EA5F60 #A5EA5F #5FEAEA
square
#A45FEA #EA5F60 #A5EA5F #5FEAEA
split-complementary
#A45FEA #EAEA5F #60EA5F
monochromatic
#6718B7 #8529E3 #A45FEA #C395F1 #E2CBF8

Accessibility & contrast

On white

3.89
#A45FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A45FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FEA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FEA#FFFFFF#000000##000000
##A45FEA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1780EE
Deuteranopia (green-blind)
#3D81E7
Tritanopia (blue-blind)
#977B9C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a45fea;
/* rgb */ color: rgb(164, 95, 234);
/* oklch */ color: oklch(62.7% 0.204 304.0);
Tailwind
colors: {
  custom: {
    50: '#c38ff1',
    500: '#a45fea',
    950: '#000000',
  },
}
SCSS
$custom: #a45fea;
$custom-light: #c38ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fea",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 269.784,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6269,
    "c": 0.20434,
    "h": 304
  },
  "luminance": 0.22017
}

Semantic roles & 50–950 ramp

primary
#A45FEA
secondary
#D3EABA
accent
#D90C73
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A45FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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