#AA33FF#AA33FF

#AA33FF is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 60.2% C 0.276 H 305.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AA33FF
RGBrgb(170, 51, 255)
HSLhsl(275, 100%, 60%)
HSVhsv(275, 80%, 100%)
CMYKcmyk(33.3%, 80%, 0%, 0%)
CIE-LABlab(49.66, 78.11, -78.71)
CIE-LCHlch(49.66, 110.89, 314.78°)
OKLaboklab(60.18% 0.1605 -0.2243)
OKLCHoklch(60.18% 0.276 305.6)
XYZxyz(35.8073, 18.1340, 96.2022)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA33FF #88FF33
analogous
#4433FF #AA33FF #FF33EE
triadic
#AA33FF #FFAA33 #33FFAA
tetradic
#AA33FF #FF4433 #88FF33 #33EEFF
square
#AA33FF #FF4433 #88FF33 #33EEFF
split-complementary
#AA33FF #EEFF33 #33FF44
monochromatic
#6B00B8 #8F00F5 #AA33FF #C370FF #DDADFF

Accessibility & contrast

On white

4.54
#AA33FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AA33FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA33FF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA33FF#FFFFFF#000000##000000
##AA33FF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0076FB
Tritanopia (blue-blind)
#9A6B9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa33ff;
/* rgb */ color: rgb(170, 51, 255);
/* oklch */ color: oklch(60.2% 0.276 305.6);
Tailwind
colors: {
  custom: {
    50: '#ca7aff',
    500: '#aa33ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa33ff;
$custom-light: #ca7aff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa33ff",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 255
  },
  "hsl": {
    "h": 275,
    "s": 100,
    "l": 60
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.27583,
    "h": 305.6
  },
  "luminance": 0.18134
}

Semantic roles & 50–950 ramp

primary
#AA33FF
secondary
#C0EEA0
accent
#FF2982
background
#FDF7FF
surface
#FAEEFF
border
#D3C9D7
text
#140A18
muted
#837C86

Preview Lab

Preview with #AA33FF

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

Preview Lab → · Contrast checker → · Palette generator →

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