#AA2BFA#AA2BFA

#AA2BFA is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 59.2% C 0.278 H 307.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA2BFA
RGBrgb(170, 43, 250)
HSLhsl(277, 95%, 57%)
HSVhsv(277, 83%, 98%)
CMYKcmyk(32%, 82.8%, 0%, 2%)
CIE-LABlab(48.48, 79.39, -77.84)
CIE-LCHlch(48.48, 111.19, 315.57°)
OKLaboklab(59.24% 0.167 -0.2217)
OKLCHoklch(59.24% 0.278 307)
XYZxyz(34.6930, 17.1764, 91.9117)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BFA #7BFA2B
analogous
#432BFA #AA2BFA #FA2BE2
triadic
#AA2BFA #FAAA2B #2BFAAA
tetradic
#AA2BFA #FA432B #7BFA2B #2BE2FA
square
#AA2BFA #FA432B #7BFA2B #2BE2FA
split-complementary
#AA2BFA #E2FA2B #2BFA43
monochromatic
#6804A7 #8D05E2 #AA2BFA #C267FB #DAA3FD

Accessibility & contrast

On white

4.73
#AA2BFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AA2BFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BFA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BFA#FFFFFF#000000##FFFFFF
##AA2BFA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0074F6
Tritanopia (blue-blind)
#9C6697
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa2bfa;
/* rgb */ color: rgb(170, 43, 250);
/* oklch */ color: oklch(59.2% 0.278 307.0);
Tailwind
colors: {
  custom: {
    50: '#ca76fd',
    500: '#aa2bfa',
    950: '#000000',
  },
}
SCSS
$custom: #aa2bfa;
$custom-light: #ca76fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2bfa",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 250
  },
  "hsl": {
    "h": 276.812,
    "s": 95.392,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59243,
    "c": 0.27755,
    "h": 307
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#AA2BFA
secondary
#B7EA97
accent
#FF297C
background
#FDF7FF
surface
#FAEEFF
border
#D3C9D7
text
#140A18
muted
#837C86

Preview Lab

Preview with #AA2BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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