#AF70BD#AF70BD

#AF70BD is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.0% C 0.131 H 320.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF70BD
RGBrgb(175, 112, 189)
HSLhsl(289, 37%, 59%)
HSVhsv(289, 41%, 74%)
CMYKcmyk(7.4%, 40.7%, 0%, 25.9%)
CIE-LABlab(56.46, 37.86, -30.51)
CIE-LCHlch(56.46, 48.62, 321.14°)
OKLaboklab(64% 0.1005 -0.0838)
OKLCHoklch(64% 0.131 320.2)
XYZxyz(32.6575, 24.3775, 51.1193)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70BD #7EBD70
analogous
#8970BD #AF70BD #BD70A5
triadic
#AF70BD #BDAF70 #70BDAF
tetradic
#AF70BD #BD8970 #7EBD70 #70A5BD
square
#AF70BD #BD8970 #7EBD70 #70A5BD
split-complementary
#AF70BD #A5BD70 #70BD89
monochromatic
#6E387A #944CA4 #AF70BD #C69AD0 #DEC4E4

Accessibility & contrast

On white

3.57
#AF70BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AF70BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70BD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70BD#FFFFFF#000000##000000
##AF70BD1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C0
Deuteranopia (green-blind)
#768ABB
Tritanopia (blue-blind)
#B0798E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af70bd;
/* rgb */ color: rgb(175, 112, 189);
/* oklch */ color: oklch(64.0% 0.131 320.2);
Tailwind
colors: {
  custom: {
    50: '#c89ad1',
    500: '#af70bd',
    950: '#000000',
  },
}
SCSS
$custom: #af70bd;
$custom-light: #c89ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#af70bd",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 189
  },
  "hsl": {
    "h": 289.091,
    "s": 36.842,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64003,
    "c": 0.13083,
    "h": 320.2
  },
  "luminance": 0.24376
}

Semantic roles & 50–950 ramp

primary
#AF70BD
secondary
#BBD4B5
accent
#CD5B70
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF70BD

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

Preview Lab → · Contrast checker → · Palette generator →

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