#AF70BC#AF70BC

#AF70BC is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.0% C 0.130 H 320.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF70BC
RGBrgb(175, 112, 188)
HSLhsl(290, 36%, 59%)
HSVhsv(290, 40%, 74%)
CMYKcmyk(6.9%, 40.4%, 0%, 26.3%)
CIE-LABlab(56.42, 37.66, -30.00)
CIE-LCHlch(56.42, 48.15, 321.46°)
OKLaboklab(63.96% 0.1002 -0.0824)
OKLCHoklch(63.96% 0.13 320.6)
XYZxyz(32.5494, 24.3342, 50.5496)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70BC #7DBC70
analogous
#8970BC #AF70BC #BC70A3
triadic
#AF70BC #BCAF70 #70BCAF
tetradic
#AF70BC #BC8970 #7DBC70 #70A3BC
square
#AF70BC #BC8970 #7DBC70 #70A3BC
split-complementary
#AF70BC #A3BC70 #70BC89
monochromatic
#6E3979 #944CA3 #AF70BC #C69AD0 #DEC3E3

Accessibility & contrast

On white

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

On black

5.87
#AF70BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70BC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70BC#FFFFFF#000000##000000
##AF70BC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#768ABA
Tritanopia (blue-blind)
#B0798D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af70bc;
/* rgb */ color: rgb(175, 112, 188);
/* oklch */ color: oklch(64.0% 0.130 320.6);
Tailwind
colors: {
  custom: {
    50: '#c89ad0',
    500: '#af70bc',
    950: '#000000',
  },
}
SCSS
$custom: #af70bc;
$custom-light: #c89ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#af70bc",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 289.737,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63957,
    "c": 0.12975,
    "h": 320.6
  },
  "luminance": 0.24333
}

Semantic roles & 50–950 ramp

primary
#AF70BC
secondary
#BAD3B5
accent
#CC5C6F
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF70BC

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

Preview Lab → · Contrast checker → · Palette generator →

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