#AF6BB2#AF6BB2

#AF6BB2 is a light, vivid purple. Relative luminance 0.228; OKLCH L 62.7% C 0.128 H 325.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AF6BB2
RGBrgb(175, 107, 178)
HSLhsl(297, 32%, 56%)
HSVhsv(297, 40%, 70%)
CMYKcmyk(1.7%, 39.9%, 0%, 30.2%)
CIE-LABlab(54.91, 38.41, -26.59)
CIE-LCHlch(54.91, 46.72, 325.31°)
OKLaboklab(62.69% 0.1056 -0.0726)
OKLCHoklch(62.69% 0.128 325.5)
XYZxyz(30.9721, 22.8450, 44.8889)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6BB2 #6EB26B
analogous
#8B6BB2 #AF6BB2 #B26B91
triadic
#AF6BB2 #B2AF6B #6BB2AF
tetradic
#AF6BB2 #B28B6B #6EB26B #6B91B2
square
#AF6BB2 #B28B6B #6EB26B #6B91B2
split-complementary
#AF6BB2 #91B26B #6BB28B
monochromatic
#69386B #904D93 #AF6BB2 #C593C7 #DBBCDC

Accessibility & contrast

On white

3.77
#AF6BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AF6BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6BB2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6BB2#FFFFFF#000000##000000
##AF6BB21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB5
Deuteranopia (green-blind)
#7686B0
Tritanopia (blue-blind)
#B27286
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af6bb2;
/* rgb */ color: rgb(175, 107, 178);
/* oklch */ color: oklch(62.7% 0.128 325.5);
Tailwind
colors: {
  custom: {
    50: '#c897c9',
    500: '#af6bb2',
    950: '#000000',
  },
}
SCSS
$custom: #af6bb2;
$custom-light: #c897c9;
$custom-dark: #000000;
JSON
{
  "hex": "#af6bb2",
  "rgb": {
    "r": 175,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 297.465,
    "s": 31.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62686,
    "c": 0.12813,
    "h": 325.5
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#AF6BB2
secondary
#AFCBAE
accent
#C86064
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #AF6BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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