#AF59DE#AF59DE

#AF59DE is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.4% C 0.203 H 311.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF59DE
RGBrgb(175, 89, 222)
HSLhsl(279, 67%, 61%)
HSVhsv(279, 60%, 87%)
CMYKcmyk(21.2%, 59.9%, 0%, 12.9%)
CIE-LABlab(53.53, 56.75, -53.91)
CIE-LCHlch(53.53, 78.27, 316.47°)
OKLaboklab(62.37% 0.1353 -0.1515)
OKLCHoklch(62.37% 0.203 311.8)
XYZxyz(34.4340, 21.5335, 71.4355)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59DE #88DE59
analogous
#6C59DE #AF59DE #DE59CA
triadic
#AF59DE #DEAF59 #59DEAF
tetradic
#AF59DE #DE6C59 #88DE59 #59CADE
square
#AF59DE #DE6C59 #88DE59 #59CADE
split-complementary
#AF59DE #CADE59 #59DE6C
monochromatic
#711F9D #9529D0 #AF59DE #C88CE8 #E0BFF2

Accessibility & contrast

On white

3.96
#AF59DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AF59DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59DE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59DE#FFFFFF#000000##000000
##AF59DE1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#287CE2
Deuteranopia (green-blind)
#4E82DB
Tritanopia (blue-blind)
#AA7293
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af59de;
/* rgb */ color: rgb(175, 89, 222);
/* oklch */ color: oklch(62.4% 0.203 311.8);
Tailwind
colors: {
  custom: {
    50: '#ca8ce9',
    500: '#af59de',
    950: '#000000',
  },
}
SCSS
$custom: #af59de;
$custom-light: #ca8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#af59de",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 278.797,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.20316,
    "h": 311.8
  },
  "luminance": 0.21533
}

Semantic roles & 50–950 ramp

primary
#AF59DE
secondary
#C2E2B0
accent
#CF1758
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF59DE

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

Preview Lab → · Contrast checker → · Palette generator →

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