#AF6AAA#AF6AAA

#AF6AAA is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.2% C 0.122 H 329.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AF6AAA
RGBrgb(175, 106, 170)
HSLhsl(304, 30%, 55%)
HSVhsv(304, 39%, 69%)
CMYKcmyk(0%, 39.4%, 2.9%, 31.4%)
CIE-LABlab(54.37, 37.44, -22.80)
CIE-LCHlch(54.37, 43.84, 328.67°)
OKLaboklab(62.17% 0.1052 -0.0619)
OKLCHoklch(62.17% 0.122 329.5)
XYZxyz(30.0885, 22.3257, 40.7468)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6AAA #6AAF6F
analogous
#926AAF #AF6AAA #AF6A87
triadic
#AF6AAA #AAAF6A #6AAAAF
tetradic
#AF6AAA #AF926A #6AAF6F #6A87AF
square
#AF6AAA #AF926A #6AAF6F #6A87AF
split-complementary
#AF6AAA #87AF6A #6AAF92
monochromatic
#673764 #8F4D8A #AF6AAA #C492C1 #DABAD7

Accessibility & contrast

On white

3.84
#AF6AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AF6AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6AAA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6AAA#FFFFFF#000000##000000
##AF6AAA1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#677CAC
Deuteranopia (green-blind)
#7985A8
Tritanopia (blue-blind)
#B46F82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af6aaa;
/* rgb */ color: rgb(175, 106, 170);
/* oklch */ color: oklch(62.2% 0.122 329.5);
Tailwind
colors: {
  custom: {
    50: '#c896c3',
    500: '#af6aaa',
    950: '#000000',
  },
}
SCSS
$custom: #af6aaa;
$custom-light: #c896c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af6aaa",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 304.348,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62172,
    "c": 0.12203,
    "h": 329.5
  },
  "luminance": 0.22324
}

Semantic roles & 50–950 ramp

primary
#AF6AAA
secondary
#ACC9AE
accent
#C66961
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #AF6AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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