#A45EF2#A45EF2

#A45EF2 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.1% C 0.215 H 302.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A45EF2
RGBrgb(164, 94, 242)
HSLhsl(268, 85%, 66%)
HSVhsv(268, 61%, 95%)
CMYKcmyk(32.2%, 61.2%, 0%, 5.1%)
CIE-LABlab(54.35, 56.28, -63.88)
CIE-LCHlch(54.35, 85.14, 311.38°)
OKLaboklab(63.07% 0.115 -0.1812)
OKLCHoklch(63.07% 0.215 302.4)
XYZxyz(35.3358, 22.3087, 86.4316)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EF2 #ACF25E
analogous
#5E62F2 #A45EF2 #EE5EF2
triadic
#A45EF2 #F2A45E #5EF2A4
tetradic
#A45EF2 #F25E62 #ACF25E #5EF2EE
square
#A45EF2 #F25E62 #ACF25E #5EF2EE
split-complementary
#A45EF2 #F2EE5E #62F25E
monochromatic
#6610C6 #8425ED #A45EF2 #C497F7 #E4CFFB

Accessibility & contrast

On white

3.84
#A45EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#A45EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EF2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EF2#FFFFFF#000000##000000
##A45EF21.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#3181EF
Tritanopia (blue-blind)
#957D9F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a45ef2;
/* rgb */ color: rgb(164, 94, 242);
/* oklch */ color: oklch(63.1% 0.215 302.4);
Tailwind
colors: {
  custom: {
    50: '#c48ff7',
    500: '#a45ef2',
    950: '#000000',
  },
}
SCSS
$custom: #a45ef2;
$custom-light: #c48ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ef2",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 268.378,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63072,
    "c": 0.2146,
    "h": 302.4
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

primary
#A45EF2
secondary
#D7EEBD
accent
#E20479
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A45EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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