#AF70CA#AF70CA

#AF70CA is a light, vivid purple. Relative luminance 0.250; OKLCH L 64.6% C 0.145 H 315.1°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF70CA
RGBrgb(175, 112, 202)
HSLhsl(282, 46%, 62%)
HSVhsv(282, 45%, 79%)
CMYKcmyk(13.4%, 44.6%, 0%, 20.8%)
CIE-LABlab(57.04, 40.55, -37.01)
CIE-LCHlch(57.04, 54.90, 317.61°)
OKLaboklab(64.63% 0.1029 -0.1025)
OKLCHoklch(64.63% 0.145 315.1)
XYZxyz(34.1324, 24.9674, 58.8868)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70CA #8BCA70
analogous
#8270CA #AF70CA #CA70B8
triadic
#AF70CA #CAAF70 #70CAAF
tetradic
#AF70CA #CA8270 #8BCA70 #70B8CA
square
#AF70CA #CA8270 #8BCA70 #70B8CA
split-complementary
#AF70CA #B8CA70 #70CA82
monochromatic
#71348C #9644B8 #AF70CA #C89DDB #E1C9EB

Accessibility & contrast

On white

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

On black

5.99
#AF70CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70CA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70CA#FFFFFF#000000##000000
##AF70CA1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#708BC7
Tritanopia (blue-blind)
#AD7D93
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af70ca;
/* rgb */ color: rgb(175, 112, 202);
/* oklch */ color: oklch(64.6% 0.145 315.1);
Tailwind
colors: {
  custom: {
    50: '#c89ada',
    500: '#af70ca',
    950: '#000000',
  },
}
SCSS
$custom: #af70ca;
$custom-light: #c89ada;
$custom-dark: #000000;
JSON
{
  "hex": "#af70ca",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 282,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64628,
    "c": 0.14525,
    "h": 315.1
  },
  "luminance": 0.24967
}

Semantic roles & 50–950 ramp

primary
#AF70CA
secondary
#C4DCBA
accent
#B92C57
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF70CA

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

Preview Lab → · Contrast checker → · Palette generator →

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