#AF70CB#AF70CB

#AF70CB is a light, vivid purple. Relative luminance 0.250; OKLCH L 64.7% C 0.146 H 314.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AF70CB
RGBrgb(175, 112, 203)
HSLhsl(282, 47%, 62%)
HSVhsv(282, 45%, 80%)
CMYKcmyk(13.8%, 44.8%, 0%, 20.4%)
CIE-LABlab(57.09, 40.76, -37.51)
CIE-LCHlch(57.09, 55.39, 317.38°)
OKLaboklab(64.68% 0.1031 -0.1039)
OKLCHoklch(64.68% 0.146 314.8)
XYZxyz(34.2512, 25.0150, 59.5124)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70CB #8CCB70
analogous
#8270CB #AF70CB #CB70BA
triadic
#AF70CB #CBAF70 #70CBAF
tetradic
#AF70CB #CB8270 #8CCB70 #70BACB
square
#AF70CB #CB8270 #8CCB70 #70BACB
split-complementary
#AF70CB #BACB70 #70CB82
monochromatic
#72338D #9644BA #AF70CB #C89DDB #E1CAEC

Accessibility & contrast

On white

3.50
#AF70CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#AF70CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70CB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70CB#FFFFFF#000000##000000
##AF70CB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CE
Deuteranopia (green-blind)
#708BC8
Tritanopia (blue-blind)
#AD7D94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af70cb;
/* rgb */ color: rgb(175, 112, 203);
/* oklch */ color: oklch(64.7% 0.146 314.8);
Tailwind
colors: {
  custom: {
    50: '#c89adb',
    500: '#af70cb',
    950: '#000000',
  },
}
SCSS
$custom: #af70cb;
$custom-light: #c89adb;
$custom-dark: #000000;
JSON
{
  "hex": "#af70cb",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 281.538,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64678,
    "c": 0.14638,
    "h": 314.8
  },
  "luminance": 0.25014
}

Semantic roles & 50–950 ramp

primary
#AF70CB
secondary
#C5DCBB
accent
#BA2C57
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF70CB

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

Preview Lab → · Contrast checker → · Palette generator →

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