#AA74CB#AA74CB

#AA74CB is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.8% C 0.137 H 311.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AA74CB
RGBrgb(170, 116, 203)
HSLhsl(277, 46%, 63%)
HSVhsv(277, 43%, 80%)
CMYKcmyk(16.3%, 42.9%, 0%, 20.4%)
CIE-LABlab(57.41, 37.10, -37.04)
CIE-LCHlch(57.41, 52.42, 315.05°)
OKLaboklab(64.8% 0.0913 -0.1027)
OKLCHoklch(64.8% 0.137 311.6)
XYZxyz(33.6006, 25.3492, 59.6112)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74CB #95CB74
analogous
#7E74CB #AA74CB #CB74C1
triadic
#AA74CB #CBAA74 #74CBAA
tetradic
#AA74CB #CB7E74 #95CB74 #74C1CB
square
#AA74CB #CB7E74 #95CB74 #74C1CB
split-complementary
#AA74CB #C1CB74 #74CB7E
monochromatic
#6D368F #8F47BA #AA74CB #C5A1DC #E0CDEC

Accessibility & contrast

On white

3.46
#AA74CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AA74CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74CB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74CB#FFFFFF#000000##000000
##AA74CB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CE
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#A78196
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa74cb;
/* rgb */ color: rgb(170, 116, 203);
/* oklch */ color: oklch(64.8% 0.137 311.6);
Tailwind
colors: {
  custom: {
    50: '#c59ddb',
    500: '#aa74cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa74cb;
$custom-light: #c59ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74cb",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 277.241,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64797,
    "c": 0.13742,
    "h": 311.6
  },
  "luminance": 0.25349
}

Semantic roles & 50–950 ramp

primary
#AA74CB
secondary
#CADDBE
accent
#B92D62
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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