#AF61CF#AF61CF

#AF61CF is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.6% C 0.175 H 315.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF61CF
RGBrgb(175, 97, 207)
HSLhsl(283, 53%, 60%)
HSVhsv(283, 53%, 81%)
CMYKcmyk(15.5%, 53.1%, 0%, 18.8%)
CIE-LABlab(54.21, 49.57, -44.32)
CIE-LCHlch(54.21, 66.49, 318.20°)
OKLaboklab(62.6% 0.1244 -0.1236)
OKLCHoklch(62.6% 0.175 315.2)
XYZxyz(33.2146, 22.1693, 61.5488)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61CF #81CF61
analogous
#7861CF #AF61CF #CF61B8
triadic
#AF61CF #CFAF61 #61CFAF
tetradic
#AF61CF #CF7861 #81CF61 #61B8CF
square
#AF61CF #CF7861 #81CF61 #61B8CF
split-complementary
#AF61CF #B8CF61 #61CF78
monochromatic
#6F2A8B #9539BA #AF61CF #C790DD #DFBFEC

Accessibility & contrast

On white

3.86
#AF61CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#AF61CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61CF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61CF#FFFFFF#000000##000000
##AF61CF1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#6084CC
Tritanopia (blue-blind)
#AD728F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af61cf;
/* rgb */ color: rgb(175, 97, 207);
/* oklch */ color: oklch(62.6% 0.175 315.2);
Tailwind
colors: {
  custom: {
    50: '#c991de',
    500: '#af61cf',
    950: '#000000',
  },
}
SCSS
$custom: #af61cf;
$custom-light: #c991de;
$custom-dark: #000000;
JSON
{
  "hex": "#af61cf",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 282.545,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62602,
    "c": 0.17538,
    "h": 315.2
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

primary
#AF61CF
secondary
#BDDBB1
accent
#DD4B75
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF61CF

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

Preview Lab → · Contrast checker → · Palette generator →

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