#AF70BB#AF70BB

#AF70BB is a light, vivid purple. Relative luminance 0.243; OKLCH L 63.9% C 0.129 H 321.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF70BB
RGBrgb(175, 112, 187)
HSLhsl(290, 36%, 59%)
HSVhsv(290, 40%, 73%)
CMYKcmyk(6.4%, 40.1%, 0%, 26.7%)
CIE-LABlab(56.38, 37.45, -29.49)
CIE-LCHlch(56.38, 47.67, 321.78°)
OKLaboklab(63.91% 0.1 -0.0809)
OKLCHoklch(63.91% 0.129 321)
XYZxyz(32.4419, 24.2913, 49.9838)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70BB #7CBB70
analogous
#8970BB #AF70BB #BB70A1
triadic
#AF70BB #BBAF70 #70BBAF
tetradic
#AF70BB #BB8970 #7CBB70 #70A1BB
square
#AF70BB #BB8970 #7CBB70 #70A1BB
split-complementary
#AF70BB #A1BB70 #70BB89
monochromatic
#6E3978 #944DA1 #AF70BB #C699CF #DDC3E2

Accessibility & contrast

On white

3.58
#AF70BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#AF70BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70BB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70BB#FFFFFF#000000##000000
##AF70BB1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BE
Deuteranopia (green-blind)
#778AB9
Tritanopia (blue-blind)
#B1798D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af70bb;
/* rgb */ color: rgb(175, 112, 187);
/* oklch */ color: oklch(63.9% 0.129 321.0);
Tailwind
colors: {
  custom: {
    50: '#c89acf',
    500: '#af70bb',
    950: '#000000',
  },
}
SCSS
$custom: #af70bb;
$custom-light: #c89acf;
$custom-dark: #000000;
JSON
{
  "hex": "#af70bb",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 290.4,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63911,
    "c": 0.12866,
    "h": 321
  },
  "luminance": 0.2429
}

Semantic roles & 50–950 ramp

primary
#AF70BB
secondary
#B9D2B5
accent
#CC5C6E
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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