#AF6ABB#AF6ABB

#AF6ABB is a light, vivid purple. Relative luminance 0.230; OKLCH L 62.9% C 0.139 H 321.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF6ABB
RGBrgb(175, 106, 187)
HSLhsl(291, 37%, 57%)
HSVhsv(291, 43%, 73%)
CMYKcmyk(6.4%, 43.3%, 0%, 26.7%)
CIE-LABlab(55.08, 40.72, -31.51)
CIE-LCHlch(55.08, 51.49, 322.27°)
OKLaboklab(62.94% 0.1089 -0.0866)
OKLCHoklch(62.94% 0.139 321.5)
XYZxyz(31.8018, 23.0111, 49.7705)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6ABB #76BB6A
analogous
#866ABB #AF6ABB #BB6A9F
triadic
#AF6ABB #BBAF6A #6ABBAF
tetradic
#AF6ABB #BB866A #76BB6A #6A9FBB
square
#AF6ABB #BB866A #76BB6A #6A9FBB
split-complementary
#AF6ABB #9FBB6A #6ABB86
monochromatic
#6C3575 #92499F #AF6ABB #C694CE #DCBEE1

Accessibility & contrast

On white

3.75
#AF6ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AF6ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6ABB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6ABB#FFFFFF#000000##000000
##AF6ABB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#7287B9
Tritanopia (blue-blind)
#B1748A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af6abb;
/* rgb */ color: rgb(175, 106, 187);
/* oklch */ color: oklch(62.9% 0.139 321.5);
Tailwind
colors: {
  custom: {
    50: '#c896cf',
    500: '#af6abb',
    950: '#000000',
  },
}
SCSS
$custom: #af6abb;
$custom-light: #c896cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af6abb",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 187
  },
  "hsl": {
    "h": 291.111,
    "s": 37.327,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62941,
    "c": 0.13919,
    "h": 321.5
  },
  "luminance": 0.2301
}

Semantic roles & 50–950 ramp

primary
#AF6ABB
secondary
#B5D1B0
accent
#CD5B6C
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF6ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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