#AF70CD#AF70CD

#AF70CD is a light, vivid purple. Relative luminance 0.251; OKLCH L 64.8% C 0.149 H 314.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AF70CD
RGBrgb(175, 112, 205)
HSLhsl(281, 48%, 62%)
HSVhsv(281, 45%, 80%)
CMYKcmyk(14.6%, 45.4%, 0%, 19.6%)
CIE-LABlab(57.18, 41.19, -38.49)
CIE-LCHlch(57.18, 56.38, 316.94°)
OKLaboklab(64.78% 0.1034 -0.1068)
OKLCHoklch(64.78% 0.149 314.1)
XYZxyz(34.4910, 25.1109, 60.7757)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70CD #8ECD70
analogous
#8070CD #AF70CD #CD70BD
triadic
#AF70CD #CDAF70 #70CDAF
tetradic
#AF70CD #CD8070 #8ECD70 #70BDCD
square
#AF70CD #CD8070 #8ECD70 #70BDCD
split-complementary
#AF70CD #BDCD70 #70CD80
monochromatic
#723290 #9643BD #AF70CD #C89DDD #E2CBED

Accessibility & contrast

On white

3.49
#AF70CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#AF70CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70CD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70CD#FFFFFF#000000##000000
##AF70CD1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D0
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#AD7E95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af70cd;
/* rgb */ color: rgb(175, 112, 205);
/* oklch */ color: oklch(64.8% 0.149 314.1);
Tailwind
colors: {
  custom: {
    50: '#c89adc',
    500: '#af70cd',
    950: '#000000',
  },
}
SCSS
$custom: #af70cd;
$custom-light: #c89adc;
$custom-dark: #000000;
JSON
{
  "hex": "#af70cd",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 280.645,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64778,
    "c": 0.14864,
    "h": 314.1
  },
  "luminance": 0.2511
}

Semantic roles & 50–950 ramp

primary
#AF70CD
secondary
#C6DDBB
accent
#BB2A59
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF70CD

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

Preview Lab → · Contrast checker → · Palette generator →

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