#AF70C8#AF70C8

#AF70C8 is a light, vivid purple. Relative luminance 0.249; OKLCH L 64.5% C 0.143 H 315.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AF70C8
RGBrgb(175, 112, 200)
HSLhsl(283, 44%, 61%)
HSVhsv(283, 44%, 78%)
CMYKcmyk(12.5%, 44%, 0%, 21.6%)
CIE-LABlab(56.95, 40.13, -36.02)
CIE-LCHlch(56.95, 53.92, 318.09°)
OKLaboklab(64.53% 0.1026 -0.0996)
OKLCHoklch(64.53% 0.143 315.8)
XYZxyz(33.8971, 24.8733, 57.6478)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70C8 #89C870
analogous
#8370C8 #AF70C8 #C870B5
triadic
#AF70C8 #C8AF70 #70C8AF
tetradic
#AF70C8 #C88370 #89C870 #70B5C8
square
#AF70C8 #C88370 #89C870 #70B5C8
split-complementary
#AF70C8 #B5C870 #70C883
monochromatic
#713589 #9546B5 #AF70C8 #C89CD9 #E0C8EA

Accessibility & contrast

On white

3.51
#AF70C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AF70C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70C8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70C8#FFFFFF#000000##000000
##AF70C81.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CB
Deuteranopia (green-blind)
#718BC5
Tritanopia (blue-blind)
#AE7C92
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af70c8;
/* rgb */ color: rgb(175, 112, 200);
/* oklch */ color: oklch(64.5% 0.143 315.8);
Tailwind
colors: {
  custom: {
    50: '#c89ad9',
    500: '#af70c8',
    950: '#000000',
  },
}
SCSS
$custom: #af70c8;
$custom-light: #c89ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#af70c8",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 282.955,
    "s": 44.444,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64529,
    "c": 0.143,
    "h": 315.8
  },
  "luminance": 0.24872
}

Semantic roles & 50–950 ramp

primary
#AF70C8
secondary
#C3DAB9
accent
#B82E55
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AF70C8

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

Preview Lab → · Contrast checker → · Palette generator →

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