#AF61DF#AF61DF

#AF61DF is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.5% C 0.193 H 310.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF61DF
RGBrgb(175, 97, 223)
HSLhsl(277, 66%, 63%)
HSVhsv(277, 57%, 87%)
CMYKcmyk(21.5%, 56.5%, 0%, 12.5%)
CIE-LABlab(55.06, 52.99, -52.02)
CIE-LCHlch(55.06, 74.26, 315.53°)
OKLaboklab(63.51% 0.1254 -0.1461)
OKLCHoklch(63.51% 0.193 310.6)
XYZxyz(35.2707, 22.9918, 72.3776)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61DF #91DF61
analogous
#7061DF #AF61DF #DF61D0
triadic
#AF61DF #DFAF61 #61DFAF
tetradic
#AF61DF #DF7061 #91DF61 #61D0DF
square
#AF61DF #DF7061 #91DF61 #61D0DF
split-complementary
#AF61DF #D0DF61 #61DF70
monochromatic
#7221A4 #952ED5 #AF61DF #C994E9 #E3C7F4

Accessibility & contrast

On white

3.75
#AF61DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AF61DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61DF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61DF#FFFFFF#000000##000000
##AF61DF1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3880E3
Deuteranopia (green-blind)
#5685DC
Tritanopia (blue-blind)
#A97897
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af61df;
/* rgb */ color: rgb(175, 97, 223);
/* oklch */ color: oklch(63.5% 0.193 310.6);
Tailwind
colors: {
  custom: {
    50: '#ca91e9',
    500: '#af61df',
    950: '#000000',
  },
}
SCSS
$custom: #af61df;
$custom-light: #ca91e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af61df",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 277.143,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63509,
    "c": 0.1925,
    "h": 310.6
  },
  "luminance": 0.22991
}

Semantic roles & 50–950 ramp

primary
#AF61DF
secondary
#C8E5B7
accent
#CE175D
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF61DF

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

Preview Lab → · Contrast checker → · Palette generator →

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