#AA74DF#AA74DF

#AA74DF is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.8% C 0.161 H 305.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AA74DF
RGBrgb(170, 116, 223)
HSLhsl(270, 63%, 66%)
HSVhsv(270, 48%, 87%)
CMYKcmyk(23.8%, 48%, 0%, 12.5%)
CIE-LABlab(58.38, 41.62, -46.79)
CIE-LCHlch(58.38, 62.62, 311.65°)
OKLaboklab(65.84% 0.0942 -0.131)
OKLCHoklch(65.84% 0.161 305.7)
XYZxyz(36.1395, 26.3648, 72.9828)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74DF #A9DF74
analogous
#7574DF #AA74DF #DF74DF
triadic
#AA74DF #DFAA74 #74DFAA
tetradic
#AA74DF #DF7574 #A9DF74 #74DFDF
square
#AA74DF #DF7574 #A9DF74 #74DFDF
split-complementary
#AA74DF #DFDF74 #74DF75
monochromatic
#6D29B0 #8C42D4 #AA74DF #C8A6EA #E7D7F6

Accessibility & contrast

On white

3.35
#AA74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AA74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74DF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74DF#FFFFFF#000000##000000
##AA74DF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#568BE3
Deuteranopia (green-blind)
#658DDC
Tritanopia (blue-blind)
#A2869F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa74df;
/* rgb */ color: rgb(170, 116, 223);
/* oklch */ color: oklch(65.8% 0.161 305.7);
Tailwind
colors: {
  custom: {
    50: '#c59de9',
    500: '#aa74df',
    950: '#000000',
  },
}
SCSS
$custom: #aa74df;
$custom-light: #c59de9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74df",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 270.28,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65837,
    "c": 0.16136,
    "h": 305.7
  },
  "luminance": 0.26365
}

Semantic roles & 50–950 ramp

primary
#AA74DF
secondary
#D7E9C6
accent
#CA1B72
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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