#AF6ABE#AF6ABE

#AF6ABE is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.1% C 0.142 H 320.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF6ABE
RGBrgb(175, 106, 190)
HSLhsl(289, 39%, 58%)
HSVhsv(289, 44%, 75%)
CMYKcmyk(7.9%, 44.2%, 0%, 25.5%)
CIE-LABlab(55.22, 41.32, -33.02)
CIE-LCHlch(55.22, 52.89, 321.37°)
OKLaboklab(63.08% 0.1095 -0.091)
OKLCHoklch(63.08% 0.142 320.3)
XYZxyz(32.1263, 23.1409, 51.4796)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6ABE #79BE6A
analogous
#856ABE #AF6ABE #BE6AA3
triadic
#AF6ABE #BEAF6A #6ABEAF
tetradic
#AF6ABE #BE856A #79BE6A #6AA3BE
square
#AF6ABE #BE856A #79BE6A #6AA3BE
split-complementary
#AF6ABE #A3BE6A #6ABE85
monochromatic
#6D3579 #9347A3 #AF6ABE #C695D1 #DDBFE3

Accessibility & contrast

On white

3.73
#AF6ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AF6ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6ABE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6ABE#FFFFFF#000000##000000
##AF6ABE1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC1
Deuteranopia (green-blind)
#7187BC
Tritanopia (blue-blind)
#B0758B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af6abe;
/* rgb */ color: rgb(175, 106, 190);
/* oklch */ color: oklch(63.1% 0.142 320.3);
Tailwind
colors: {
  custom: {
    50: '#c896d2',
    500: '#af6abe',
    950: '#000000',
  },
}
SCSS
$custom: #af6abe;
$custom-light: #c896d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af6abe",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 190
  },
  "hsl": {
    "h": 289.286,
    "s": 39.252,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63084,
    "c": 0.14236,
    "h": 320.3
  },
  "luminance": 0.2314
}

Semantic roles & 50–950 ramp

primary
#AF6ABE
secondary
#B7D3B1
accent
#CF596E
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF6ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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