#AF6FC2#AF6FC2

#AF6FC2 is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.1% C 0.138 H 318.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF6FC2
RGBrgb(175, 111, 194)
HSLhsl(286, 40%, 60%)
HSVhsv(286, 43%, 76%)
CMYKcmyk(9.8%, 42.8%, 0%, 23.9%)
CIE-LABlab(56.47, 39.43, -33.36)
CIE-LCHlch(56.47, 51.65, 319.76°)
OKLaboklab(64.08% 0.1029 -0.092)
OKLCHoklch(64.08% 0.138 318.2)
XYZxyz(33.0999, 24.3789, 53.9905)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FC2 #82C26F
analogous
#866FC2 #AF6FC2 #C26FAC
triadic
#AF6FC2 #C2AF6F #6FC2AF
tetradic
#AF6FC2 #C2866F #82C26F #6FACC2
square
#AF6FC2 #C2866F #82C26F #6FACC2
split-complementary
#AF6FC2 #ACC26F #6FC286
monochromatic
#6F3680 #9549AB #AF6FC2 #C79AD4 #DFC5E6

Accessibility & contrast

On white

3.57
#AF6FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AF6FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FC2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FC2#FFFFFF#000000##000000
##AF6FC21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6283C5
Deuteranopia (green-blind)
#738AC0
Tritanopia (blue-blind)
#AF7A8F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af6fc2;
/* rgb */ color: rgb(175, 111, 194);
/* oklch */ color: oklch(64.1% 0.138 318.2);
Tailwind
colors: {
  custom: {
    50: '#c89ad4',
    500: '#af6fc2',
    950: '#000000',
  },
}
SCSS
$custom: #af6fc2;
$custom-light: #c89ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#af6fc2",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 286.265,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64076,
    "c": 0.13805,
    "h": 318.2
  },
  "luminance": 0.24378
}

Semantic roles & 50–950 ramp

primary
#AF6FC2
secondary
#BED6B6
accent
#D05773
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AF6FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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