#AA45DF#AA45DF

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

Color values

HEX#AA45DF
RGBrgb(170, 69, 223)
HSLhsl(279, 71%, 57%)
HSVhsv(279, 69%, 87%)
CMYKcmyk(23.8%, 69.1%, 0%, 12.5%)
CIE-LABlab(49.65, 64.92, -60.73)
CIE-LCHlch(49.65, 88.90, 316.91°)
OKLaboklab(59.46% 0.1515 -0.1716)
OKLCHoklch(59.46% 0.229 311.4)
XYZxyz(32.0225, 18.1308, 71.6104)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45DF #7ADF45
analogous
#5D45DF #AA45DF #DF45C7
triadic
#AA45DF #DFAA45 #45DFAA
tetradic
#AA45DF #DF5D45 #7ADF45 #45C7DF
square
#AA45DF #DF5D45 #7ADF45 #45C7DF
split-complementary
#AA45DF #C7DF45 #45DF5D
monochromatic
#671991 #8D22C5 #AA45DF #C279E8 #DAADF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA45DF#FFFFFF#000000##000000
##AA45DF1.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)
#0071E3
Deuteranopia (green-blind)
#3178DC
Tritanopia (blue-blind)
#A3668D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa45df;
/* rgb */ color: rgb(170, 69, 223);
/* oklch */ color: oklch(59.5% 0.229 311.4);
Tailwind
colors: {
  custom: {
    50: '#c881ea',
    500: '#aa45df',
    950: '#000000',
  },
}
SCSS
$custom: #aa45df;
$custom-light: #c881ea;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45df",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 279.351,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59461,
    "c": 0.22887,
    "h": 311.4
  },
  "luminance": 0.1813
}

Semantic roles & 50–950 ramp

primary
#AA45DF
secondary
#B6DFA1
accent
#ED3A78
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA45DF

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

Preview Lab → · Contrast checker → · Palette generator →

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