#AA74F7#AA74F7

#AA74F7 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.2% C 0.190 H 300.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AA74F7
RGBrgb(170, 116, 247)
HSLhsl(265, 89%, 71%)
HSVhsv(265, 53%, 97%)
CMYKcmyk(31.2%, 53%, 0%, 3.1%)
CIE-LABlab(59.66, 47.33, -58.11)
CIE-LCHlch(59.66, 74.94, 309.16°)
OKLaboklab(67.2% 0.0962 -0.1641)
OKLCHoklch(67.2% 0.19 300.4)
XYZxyz(39.6075, 27.7520, 91.2477)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74F7 #C1F774
analogous
#747FF7 #AA74F7 #EC74F7
triadic
#AA74F7 #F7AA74 #74F7AA
tetradic
#AA74F7 #F7747F #C1F774 #74F7EC
square
#AA74F7 #F7747F #C1F774 #74F7EC
split-complementary
#AA74F7 #F7EC74 #7FF774
monochromatic
#650DE4 #873AF4 #AA74F7 #CDAEFA #EDE2FD

Accessibility & contrast

On white

3.21
#AA74F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#AA74F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74F7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74F7#FFFFFF#000000##000000
##AA74F71.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFB
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#9A8DAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa74f7;
/* rgb */ color: rgb(170, 116, 247);
/* oklch */ color: oklch(67.2% 0.190 300.4);
Tailwind
colors: {
  custom: {
    50: '#c79dfa',
    500: '#aa74f7',
    950: '#000000',
  },
}
SCSS
$custom: #aa74f7;
$custom-light: #c79dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74f7",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 264.733,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67204,
    "c": 0.19018,
    "h": 300.4
  },
  "luminance": 0.27752
}

Semantic roles & 50–950 ramp

primary
#AA74F7
secondary
#E6F5D2
accent
#E60087
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA74F7

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

Preview Lab → · Contrast checker → · Palette generator →

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