#AF6FC0#AF6FC0

#AF6FC0 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.0% C 0.136 H 319.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF6FC0
RGBrgb(175, 111, 192)
HSLhsl(287, 39%, 59%)
HSVhsv(287, 42%, 75%)
CMYKcmyk(8.9%, 42.2%, 0%, 24.7%)
CIE-LABlab(56.38, 39.02, -32.36)
CIE-LCHlch(56.38, 50.69, 320.33°)
OKLaboklab(63.98% 0.1025 -0.0891)
OKLCHoklch(63.98% 0.136 319)
XYZxyz(32.8768, 24.2897, 52.8155)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FC0 #80C06F
analogous
#876FC0 #AF6FC0 #C06FA9
triadic
#AF6FC0 #C0AF6F #6FC0AF
tetradic
#AF6FC0 #C0876F #80C06F #6FA9C0
square
#AF6FC0 #C0876F #80C06F #6FA9C0
split-complementary
#AF6FC0 #A9C06F #6FC087
monochromatic
#6F377E #944AA8 #AF6FC0 #C79AD3 #DEC4E5

Accessibility & contrast

On white

3.58
#AF6FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#AF6FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FC0
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FC0#FFFFFF#000000##000000
##AF6FC01.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6383C3
Deuteranopia (green-blind)
#7489BE
Tritanopia (blue-blind)
#B0798E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af6fc0;
/* rgb */ color: rgb(175, 111, 192);
/* oklch */ color: oklch(64.0% 0.136 319.0);
Tailwind
colors: {
  custom: {
    50: '#c89ad3',
    500: '#af6fc0',
    950: '#000000',
  },
}
SCSS
$custom: #af6fc0;
$custom-light: #c89ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#af6fc0",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 192
  },
  "hsl": {
    "h": 287.407,
    "s": 39.13,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63981,
    "c": 0.13586,
    "h": 319
  },
  "luminance": 0.24289
}

Semantic roles & 50–950 ramp

primary
#AF6FC0
secondary
#BCD5B6
accent
#CF5972
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AF6FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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