#AF6FCD#AF6FCD

#AF6FCD is a light, vivid purple. Relative luminance 0.249; OKLCH L 64.6% C 0.150 H 314.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AF6FCD
RGBrgb(175, 111, 205)
HSLhsl(281, 48%, 62%)
HSVhsv(281, 46%, 80%)
CMYKcmyk(14.6%, 45.9%, 0%, 19.6%)
CIE-LABlab(56.97, 41.73, -38.83)
CIE-LCHlch(56.97, 57.00, 317.06°)
OKLaboklab(64.62% 0.1048 -0.1078)
OKLCHoklch(64.62% 0.15 314.2)
XYZxyz(34.3813, 24.8915, 60.7392)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FCD #8DCD6F
analogous
#806FCD #AF6FCD #CD6FBC
triadic
#AF6FCD #CDAF6F #6FCDAF
tetradic
#AF6FCD #CD806F #8DCD6F #6FBCCD
square
#AF6FCD #CD806F #8DCD6F #6FBCCD
split-complementary
#AF6FCD #BCCD6F #6FCD80
monochromatic
#723290 #9642BD #AF6FCD #C89CDD #E1CAED

Accessibility & contrast

On white

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

On black

5.98
#AF6FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FCD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FCD#FFFFFF#000000##000000
##AF6FCD1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#6E8ACA
Tritanopia (blue-blind)
#AD7D94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af6fcd;
/* rgb */ color: rgb(175, 111, 205);
/* oklch */ color: oklch(64.6% 0.150 314.2);
Tailwind
colors: {
  custom: {
    50: '#c89adc',
    500: '#af6fcd',
    950: '#000000',
  },
}
SCSS
$custom: #af6fcd;
$custom-light: #c89adc;
$custom-dark: #000000;
JSON
{
  "hex": "#af6fcd",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 205
  },
  "hsl": {
    "h": 280.851,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64618,
    "c": 0.15032,
    "h": 314.2
  },
  "luminance": 0.24891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF6FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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