#AA5BF2#AA5BF2

#AA5BF2 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.3% C 0.220 H 305.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AA5BF2
RGBrgb(170, 91, 242)
HSLhsl(271, 85%, 65%)
HSVhsv(271, 62%, 95%)
CMYKcmyk(29.8%, 62.4%, 0%, 5.1%)
CIE-LABlab(54.49, 59.07, -63.63)
CIE-LCHlch(54.49, 86.82, 312.87°)
OKLaboklab(63.32% 0.1261 -0.1802)
OKLCHoklch(63.32% 0.22 305)
XYZxyz(36.3421, 22.4392, 86.4038)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BF2 #A3F25B
analogous
#5E5BF2 #AA5BF2 #F25BEE
triadic
#AA5BF2 #F2AA5B #5BF2AA
tetradic
#AA5BF2 #F25E5B #A3F25B #5BEEF2
square
#AA5BF2 #F25E5B #A3F25B #5BEEF2
split-complementary
#AA5BF2 #EEF25B #5BF25E
monochromatic
#6D0FC3 #8D22EE #AA5BF2 #C794F6 #E5CCFB

Accessibility & contrast

On white

3.83
#AA5BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AA5BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BF2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BF2#FFFFFF#000000##000000
##AA5BF21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#3582EF
Tritanopia (blue-blind)
#9D7B9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5bf2;
/* rgb */ color: rgb(170, 91, 242);
/* oklch */ color: oklch(63.3% 0.220 305.0);
Tailwind
colors: {
  custom: {
    50: '#c88ef7',
    500: '#aa5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bf2;
$custom-light: #c88ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bf2",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 271.391,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63323,
    "c": 0.21995,
    "h": 305
  },
  "luminance": 0.22439
}

Semantic roles & 50–950 ramp

primary
#AA5BF2
secondary
#D3EEBB
accent
#E2046E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AA5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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