#A65197#A65197

#A65197 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.4% C 0.142 H 334.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A65197
RGBrgb(166, 81, 151)
HSLhsl(311, 34%, 48%)
HSVhsv(311, 51%, 65%)
CMYKcmyk(0%, 51.2%, 9%, 34.9%)
CIE-LABlab(47.27, 44.42, -22.66)
CIE-LCHlch(47.27, 49.86, 332.97°)
OKLaboklab(56.36% 0.1281 -0.0614)
OKLCHoklch(56.36% 0.142 334.4)
XYZxyz(24.2542, 16.2278, 31.1270)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65197 #51A660
analogous
#8A51A6 #A65197 #A6516C
triadic
#A65197 #97A651 #5197A6
tetradic
#A65197 #A68A51 #51A660 #516CA6
square
#A65197 #A68A51 #51A660 #516CA6
split-complementary
#A65197 #6CA651 #51A68A
monochromatic
#54294C #7D3D72 #A65197 #BD77B1 #D1A1C8

Accessibility & contrast

On white

4.95
#A65197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A65197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A65197
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65197#FFFFFF#000000##FFFFFF
##A651971.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516899
Deuteranopia (green-blind)
#697595
Tritanopia (blue-blind)
#AD566D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a65197;
/* rgb */ color: rgb(166, 81, 151);
/* oklch */ color: oklch(56.4% 0.142 334.4);
Tailwind
colors: {
  custom: {
    50: '#c285b5',
    500: '#a65197',
    950: '#000000',
  },
}
SCSS
$custom: #a65197;
$custom-light: #c285b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a65197",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 310.588,
    "s": 34.413,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.14208,
    "h": 334.4
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#A65197
secondary
#95BE9C
accent
#CA715D
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #A65197

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

Preview Lab → · Contrast checker → · Palette generator →

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