#AA74FC#AA74FC

#AA74FC is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.5% C 0.196 H 299.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AA74FC
RGBrgb(170, 116, 252)
HSLhsl(264, 96%, 72%)
HSVhsv(264, 54%, 99%)
CMYKcmyk(32.5%, 54%, 0%, 1.2%)
CIE-LABlab(59.95, 48.55, -60.41)
CIE-LCHlch(59.95, 77.50, 308.79°)
OKLaboklab(67.5% 0.0964 -0.1708)
OKLCHoklch(67.5% 0.196 299.4)
XYZxyz(40.3894, 28.0648, 95.3657)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74FC #C6FC74
analogous
#7482FC #AA74FC #EE74FC
triadic
#AA74FC #FCAA74 #74FCAA
tetradic
#AA74FC #FC7482 #C6FC74 #74FCEE
square
#AA74FC #FC7482 #C6FC74 #74FCEE
split-complementary
#AA74FC #FCEE74 #82FC74
monochromatic
#6305F0 #8538FB #AA74FC #CFB0FD #EDE1FE

Accessibility & contrast

On white

3.18
#AA74FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#AA74FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74FC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74FC#FFFFFF#000000##000000
##AA74FC1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#4E8FF9
Tritanopia (blue-blind)
#998FAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa74fc;
/* rgb */ color: rgb(170, 116, 252);
/* oklch */ color: oklch(67.5% 0.196 299.4);
Tailwind
colors: {
  custom: {
    50: '#c79efe',
    500: '#aa74fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa74fc;
$custom-light: #c79efe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74fc",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 263.824,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67504,
    "c": 0.19615,
    "h": 299.4
  },
  "luminance": 0.28065
}

Semantic roles & 50–950 ramp

primary
#AA74FC
secondary
#E9F7D4
accent
#E6008A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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