#AF59DD#AF59DD

#AF59DD is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.3% C 0.202 H 312.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF59DD
RGBrgb(175, 89, 221)
HSLhsl(279, 66%, 61%)
HSVhsv(279, 60%, 87%)
CMYKcmyk(20.8%, 59.7%, 0%, 13.3%)
CIE-LABlab(53.47, 56.53, -53.44)
CIE-LCHlch(53.47, 77.79, 316.61°)
OKLaboklab(62.31% 0.1353 -0.1502)
OKLCHoklch(62.31% 0.202 312)
XYZxyz(34.3004, 21.4800, 70.7318)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59DD #87DD59
analogous
#6D59DD #AF59DD #DD59C9
triadic
#AF59DD #DDAF59 #59DDAF
tetradic
#AF59DD #DD6D59 #87DD59 #59C9DD
square
#AF59DD #DD6D59 #87DD59 #59C9DD
split-complementary
#AF59DD #C9DD59 #59DD6D
monochromatic
#71209C #952ACF #AF59DD #C78CE7 #E0BFF2

Accessibility & contrast

On white

3.97
#AF59DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#AF59DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59DD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59DD#FFFFFF#000000##000000
##AF59DD1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#297BE1
Deuteranopia (green-blind)
#4F82DA
Tritanopia (blue-blind)
#AA7193
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af59dd;
/* rgb */ color: rgb(175, 89, 221);
/* oklch */ color: oklch(62.3% 0.202 312.0);
Tailwind
colors: {
  custom: {
    50: '#ca8ce8',
    500: '#af59dd',
    950: '#000000',
  },
}
SCSS
$custom: #af59dd;
$custom-light: #ca8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#af59dd",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 279.091,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6231,
    "c": 0.20212,
    "h": 312
  },
  "luminance": 0.21479
}

Semantic roles & 50–950 ramp

primary
#AF59DD
secondary
#C1E2B0
accent
#CE1857
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF59DD

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

Preview Lab → · Contrast checker → · Palette generator →

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