#AF6BBD#AF6BBD

#AF6BBD is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.2% C 0.140 H 320.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF6BBD
RGBrgb(175, 107, 189)
HSLhsl(290, 38%, 58%)
HSVhsv(290, 43%, 74%)
CMYKcmyk(7.4%, 43.4%, 0%, 25.9%)
CIE-LABlab(55.38, 40.58, -32.18)
CIE-LCHlch(55.38, 51.79, 321.58°)
OKLaboklab(63.2% 0.1079 -0.0886)
OKLCHoklch(63.2% 0.14 320.6)
XYZxyz(32.1211, 23.3046, 50.9405)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6BBD #79BD6B
analogous
#866BBD #AF6BBD #BD6BA2
triadic
#AF6BBD #BDAF6B #6BBDAF
tetradic
#AF6BBD #BD866B #79BD6B #6BA2BD
square
#AF6BBD #BD866B #79BD6B #6BA2BD
split-complementary
#AF6BBD #A2BD6B #6BBD86
monochromatic
#6D3678 #9348A2 #AF6BBD #C695D0 #DDC0E3

Accessibility & contrast

On white

3.71
#AF6BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AF6BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6BBD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6BBD#FFFFFF#000000##000000
##AF6BBD1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080C0
Deuteranopia (green-blind)
#7287BB
Tritanopia (blue-blind)
#B0758B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af6bbd;
/* rgb */ color: rgb(175, 107, 189);
/* oklch */ color: oklch(63.2% 0.140 320.6);
Tailwind
colors: {
  custom: {
    50: '#c897d1',
    500: '#af6bbd',
    950: '#000000',
  },
}
SCSS
$custom: #af6bbd;
$custom-light: #c897d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af6bbd",
  "rgb": {
    "r": 175,
    "g": 107,
    "b": 189
  },
  "hsl": {
    "h": 289.756,
    "s": 38.318,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.13958,
    "h": 320.6
  },
  "luminance": 0.23303
}

Semantic roles & 50–950 ramp

primary
#AF6BBD
secondary
#B7D2B2
accent
#CE5A6D
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF6BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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