#A45FF2#A45FF2

#A45FF2 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.2% C 0.213 H 302.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A45FF2
RGBrgb(164, 95, 242)
HSLhsl(268, 85%, 66%)
HSVhsv(268, 61%, 95%)
CMYKcmyk(32.2%, 60.7%, 0%, 5.1%)
CIE-LABlab(54.54, 55.77, -63.58)
CIE-LCHlch(54.54, 84.58, 311.26°)
OKLaboklab(63.21% 0.1139 -0.1803)
OKLCHoklch(63.21% 0.213 302.3)
XYZxyz(35.4253, 22.4877, 86.4614)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FF2 #ADF25F
analogous
#5F63F2 #A45FF2 #ED5FF2
triadic
#A45FF2 #F2A45F #5FF2A4
tetradic
#A45FF2 #F25F63 #ADF25F #5FF2ED
square
#A45FF2 #F25F63 #ADF25F #5FF2ED
split-complementary
#A45FF2 #F2ED5F #63F25F
monochromatic
#6610C6 #8426ED #A45FF2 #C498F7 #E4D0FB

Accessibility & contrast

On white

3.82
#A45FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#A45FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FF2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FF2#FFFFFF#000000##000000
##A45FF21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a45ff2;
/* rgb */ color: rgb(164, 95, 242);
/* oklch */ color: oklch(63.2% 0.213 302.3);
Tailwind
colors: {
  custom: {
    50: '#c490f7',
    500: '#a45ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a45ff2;
$custom-light: #c490f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ff2",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 268.163,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63208,
    "c": 0.21324,
    "h": 302.3
  },
  "luminance": 0.22488
}

Semantic roles & 50–950 ramp

primary
#A45FF2
secondary
#D8EFBE
accent
#E1047A
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A45FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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