#AF70BF#AF70BF

#AF70BF is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.1% C 0.133 H 319.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF70BF
RGBrgb(175, 112, 191)
HSLhsl(288, 38%, 59%)
HSVhsv(288, 41%, 75%)
CMYKcmyk(8.4%, 41.4%, 0%, 25.1%)
CIE-LABlab(56.55, 38.26, -31.51)
CIE-LCHlch(56.55, 49.57, 320.53°)
OKLaboklab(64.1% 0.1009 -0.0867)
OKLCHoklch(64.1% 0.133 319.3)
XYZxyz(32.8761, 24.4649, 52.2705)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70BF #80BF70
analogous
#8870BF #AF70BF #BF70A8
triadic
#AF70BF #BFAF70 #70BFAF
tetradic
#AF70BF #BF8870 #80BF70 #70A8BF
square
#AF70BF #BF8870 #80BF70 #70A8BF
split-complementary
#AF70BF #A8BF70 #70BF88
monochromatic
#6F387D #944BA7 #AF70BF #C79AD2 #DEC5E5

Accessibility & contrast

On white

3.56
#AF70BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AF70BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70BF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70BF#FFFFFF#000000##000000
##AF70BF1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6583C2
Deuteranopia (green-blind)
#758ABD
Tritanopia (blue-blind)
#B07A8E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af70bf;
/* rgb */ color: rgb(175, 112, 191);
/* oklch */ color: oklch(64.1% 0.133 319.3);
Tailwind
colors: {
  custom: {
    50: '#c89ad2',
    500: '#af70bf',
    950: '#000000',
  },
}
SCSS
$custom: #af70bf;
$custom-light: #c89ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#af70bf",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 287.848,
    "s": 38.164,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64097,
    "c": 0.13301,
    "h": 319.3
  },
  "luminance": 0.24464
}

Semantic roles & 50–950 ramp

primary
#AF70BF
secondary
#BCD5B6
accent
#CE5A71
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF70BF

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

Preview Lab → · Contrast checker → · Palette generator →

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