#AA74CF#AA74CF

#AA74CF is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.0% C 0.142 H 310.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA74CF
RGBrgb(170, 116, 207)
HSLhsl(276, 49%, 63%)
HSVhsv(276, 44%, 81%)
CMYKcmyk(17.9%, 44%, 0%, 18.8%)
CIE-LABlab(57.60, 37.98, -39.01)
CIE-LCHlch(57.60, 54.45, 314.24°)
OKLaboklab(65% 0.092 -0.1084)
OKLCHoklch(65% 0.142 310.3)
XYZxyz(34.0834, 25.5424, 62.1540)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74CF #99CF74
analogous
#7C74CF #AA74CF #CF74C7
triadic
#AA74CF #CFAA74 #74CFAA
tetradic
#AA74CF #CF7C74 #99CF74 #74C7CF
square
#AA74CF #CF7C74 #99CF74 #74C7CF
split-complementary
#AA74CF #C7CF74 #74CF7C
monochromatic
#6D3395 #8E47BF #AA74CF #C6A1DF #E2CFEE

Accessibility & contrast

On white

3.44
#AA74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AA74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74CF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74CF#FFFFFF#000000##000000
##AA74CF1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6088D2
Deuteranopia (green-blind)
#6E8BCD
Tritanopia (blue-blind)
#A68298
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa74cf;
/* rgb */ color: rgb(170, 116, 207);
/* oklch */ color: oklch(65.0% 0.142 310.3);
Tailwind
colors: {
  custom: {
    50: '#c59dde',
    500: '#aa74cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa74cf;
$custom-light: #c59dde;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74cf",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 275.604,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64997,
    "c": 0.14218,
    "h": 310.3
  },
  "luminance": 0.25542
}

Semantic roles & 50–950 ramp

primary
#AA74CF
secondary
#CCE0BF
accent
#BC2A65
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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