#AA5CF3#AA5CF3

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

Color values

HEX#AA5CF3
RGBrgb(170, 92, 243)
HSLhsl(271, 86%, 66%)
HSVhsv(271, 62%, 95%)
CMYKcmyk(30%, 62.1%, 0%, 4.7%)
CIE-LABlab(54.73, 58.81, -63.80)
CIE-LCHlch(54.73, 86.77, 312.67°)
OKLaboklab(63.52% 0.1249 -0.1807)
OKLCHoklch(63.52% 0.22 304.7)
XYZxyz(36.5788, 22.6716, 87.2257)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CF3 #A5F35C
analogous
#5E5CF3 #AA5CF3 #F35CF1
triadic
#AA5CF3 #F3AA5C #5CF3AA
tetradic
#AA5CF3 #F35E5C #A5F35C #5CF1F3
square
#AA5CF3 #F35E5C #A5F35C #5CF1F3
split-complementary
#AA5CF3 #F1F35C #5CF35E
monochromatic
#6D0FC6 #8C23EF #AA5CF3 #C895F7 #E5CEFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5CF3#FFFFFF#000000##000000
##AA5CF31.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)
#0081F8
Deuteranopia (green-blind)
#3583F0
Tritanopia (blue-blind)
#9D7C9F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5cf3;
/* rgb */ color: rgb(170, 92, 243);
/* oklch */ color: oklch(63.5% 0.220 304.7);
Tailwind
colors: {
  custom: {
    50: '#c88ef8',
    500: '#aa5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cf3;
$custom-light: #c88ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cf3",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 270.993,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63519,
    "c": 0.21968,
    "h": 304.7
  },
  "luminance": 0.22671
}

Semantic roles & 50–950 ramp

primary
#AA5CF3
secondary
#D5EFBC
accent
#E3036F
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AA5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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