#AA45F1#AA45F1

#AA45F1 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.7% C 0.246 H 307.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AA45F1
RGBrgb(170, 69, 241)
HSLhsl(275, 86%, 61%)
HSVhsv(275, 71%, 95%)
CMYKcmyk(29.5%, 71.4%, 0%, 5.5%)
CIE-LABlab(50.87, 68.72, -68.92)
CIE-LCHlch(50.87, 97.33, 314.92°)
OKLaboklab(60.71% 0.149 -0.1957)
OKLCHoklch(60.71% 0.246 307.3)
XYZxyz(34.5795, 19.1536, 85.0774)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45F1 #8CF145
analogous
#5445F1 #AA45F1 #F145E2
triadic
#AA45F1 #F1AA45 #45F1AA
tetradic
#AA45F1 #F15445 #8CF145 #45E2F1
square
#AA45F1 #F15445 #8CF145 #45E2F1
split-complementary
#AA45F1 #E2F145 #45F154
monochromatic
#6C0DAE #8F11E7 #AA45F1 #C47EF5 #DEB7FA

Accessibility & contrast

On white

4.35
#AA45F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AA45F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA45F1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45F1#FFFFFF#000000##000000
##AA45F11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#9E6D97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa45f1;
/* rgb */ color: rgb(170, 69, 241);
/* oklch */ color: oklch(60.7% 0.246 307.3);
Tailwind
colors: {
  custom: {
    50: '#c981f7',
    500: '#aa45f1',
    950: '#000000',
  },
}
SCSS
$custom: #aa45f1;
$custom-light: #c981f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45f1",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 241
  },
  "hsl": {
    "h": 275.233,
    "s": 86,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.24596,
    "h": 307.3
  },
  "luminance": 0.19153
}

Semantic roles & 50–950 ramp

primary
#AA45F1
secondary
#C3E9A8
accent
#E3035F
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #AA45F1

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

Preview Lab → · Contrast checker → · Palette generator →

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