#AF59DF#AF59DF

#AF59DF is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.4% C 0.204 H 311.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF59DF
RGBrgb(175, 89, 223)
HSLhsl(279, 68%, 61%)
HSVhsv(279, 60%, 87%)
CMYKcmyk(21.5%, 60.1%, 0%, 12.5%)
CIE-LABlab(53.59, 56.96, -54.38)
CIE-LCHlch(53.59, 78.75, 316.33°)
OKLaboklab(62.43% 0.1353 -0.1529)
OKLCHoklch(62.43% 0.204 311.5)
XYZxyz(34.5684, 21.5872, 72.1435)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59DF #89DF59
analogous
#6C59DF #AF59DF #DF59CC
triadic
#AF59DF #DFAF59 #59DFAF
tetradic
#AF59DF #DF6C59 #89DF59 #59CCDF
square
#AF59DF #DF6C59 #89DF59 #59CCDF
split-complementary
#AF59DF #CCDF59 #59DF6C
monochromatic
#711F9F #9529D2 #AF59DF #C88CE9 #E0C0F3

Accessibility & contrast

On white

3.95
#AF59DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AF59DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59DF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59DF#FFFFFF#000000##000000
##AF59DF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#267CE3
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#A97294
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af59df;
/* rgb */ color: rgb(175, 89, 223);
/* oklch */ color: oklch(62.4% 0.204 311.5);
Tailwind
colors: {
  custom: {
    50: '#ca8cea',
    500: '#af59df',
    950: '#000000',
  },
}
SCSS
$custom: #af59df;
$custom-light: #ca8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#af59df",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 278.507,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62431,
    "c": 0.20419,
    "h": 311.5
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

primary
#AF59DF
secondary
#C3E3B1
accent
#D01658
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF59DF

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

Preview Lab → · Contrast checker → · Palette generator →

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