#A45FEC#A45FEC

#A45FEC is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.8% C 0.207 H 303.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A45FEC
RGBrgb(164, 95, 236)
HSLhsl(269, 79%, 65%)
HSVhsv(269, 60%, 93%)
CMYKcmyk(30.5%, 59.7%, 0%, 7.5%)
CIE-LABlab(54.17, 54.35, -60.83)
CIE-LCHlch(54.17, 81.58, 311.78°)
OKLaboklab(62.82% 0.1141 -0.1722)
OKLCHoklch(62.82% 0.207 303.5)
XYZxyz(34.5390, 22.1331, 81.7931)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FEC #A7EC5F
analogous
#5F60EC #A45FEC #EB5FEC
triadic
#A45FEC #ECA45F #5FECA4
tetradic
#A45FEC #EC5F60 #A7EC5F #5FECEB
square
#A45FEC #EC5F60 #A7EC5F #5FECEB
split-complementary
#A45FEC #ECEB5F #60EC5F
monochromatic
#6716BA #8528E6 #A45FEC #C396F2 #E2CCF9

Accessibility & contrast

On white

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

On black

5.43
#A45FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FEC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FEC#FFFFFF#000000##000000
##A45FEC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1080F0
Deuteranopia (green-blind)
#3B81E9
Tritanopia (blue-blind)
#977C9D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a45fec;
/* rgb */ color: rgb(164, 95, 236);
/* oklch */ color: oklch(62.8% 0.207 303.5);
Tailwind
colors: {
  custom: {
    50: '#c38ff3',
    500: '#a45fec',
    950: '#000000',
  },
}
SCSS
$custom: #a45fec;
$custom-light: #c38ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fec",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 269.362,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62818,
    "c": 0.20657,
    "h": 303.5
  },
  "luminance": 0.22133
}

Semantic roles & 50–950 ramp

primary
#A45FEC
secondary
#D4EBBB
accent
#DB0A75
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A45FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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