#AF6ABA#AF6ABA

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

Color values

HEX#AF6ABA
RGBrgb(175, 106, 186)
HSLhsl(292, 37%, 57%)
HSVhsv(292, 43%, 73%)
CMYKcmyk(5.9%, 43%, 0%, 27.1%)
CIE-LABlab(55.04, 40.52, -31.00)
CIE-LCHlch(55.04, 51.02, 322.58°)
OKLaboklab(62.89% 0.1088 -0.0852)
OKLCHoklch(62.89% 0.138 321.9)
XYZxyz(31.6952, 22.9684, 49.2086)
Luminance0.2297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6ABA #75BA6A
analogous
#876ABA #AF6ABA #BA6A9D
triadic
#AF6ABA #BAAF6A #6ABAAF
tetradic
#AF6ABA #BA876A #75BA6A #6A9DBA
square
#AF6ABA #BA876A #75BA6A #6A9DBA
split-complementary
#AF6ABA #9DBA6A #6ABA87
monochromatic
#6B3674 #92499E #AF6ABA #C594CD #DCBEE1

Accessibility & contrast

On white

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

On black

5.59
#AF6ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6ABA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6ABA#FFFFFF#000000##000000
##AF6ABA1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBD
Deuteranopia (green-blind)
#7286B8
Tritanopia (blue-blind)
#B17389
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af6aba;
/* rgb */ color: rgb(175, 106, 186);
/* oklch */ color: oklch(62.9% 0.138 321.9);
Tailwind
colors: {
  custom: {
    50: '#c896cf',
    500: '#af6aba',
    950: '#000000',
  },
}
SCSS
$custom: #af6aba;
$custom-light: #c896cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af6aba",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 291.75,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62894,
    "c": 0.13814,
    "h": 321.9
  },
  "luminance": 0.22967
}

Semantic roles & 50–950 ramp

primary
#AF6ABA
secondary
#B4D0B0
accent
#CD5B6B
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D13
muted
#827E82

Preview Lab

Preview with #AF6ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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