#AF59FD#AF59FD

#AF59FD is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.4% C 0.235 H 304.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AF59FD
RGBrgb(175, 89, 253)
HSLhsl(271, 98%, 67%)
HSVhsv(271, 65%, 99%)
CMYKcmyk(30.8%, 64.8%, 0%, 0.8%)
CIE-LABlab(55.43, 63.58, -68.20)
CIE-LCHlch(55.43, 93.23, 312.99°)
OKLaboklab(64.35% 0.1339 -0.1935)
OKLCHoklch(64.35% 0.235 304.7)
XYZxyz(38.9772, 23.3508, 95.3632)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59FD #A7FD59
analogous
#5D59FD #AF59FD #FD59F9
triadic
#AF59FD #FDAF59 #59FDAF
tetradic
#AF59FD #FD5D59 #A7FD59 #59F9FD
square
#AF59FD #FD5D59 #A7FD59 #59F9FD
split-complementary
#AF59FD #F9FD59 #59FD5D
monochromatic
#7303D9 #921DFC #AF59FD #CC95FE #E9D2FE

Accessibility & contrast

On white

3.70
#AF59FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#AF59FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59FD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59FD#FFFFFF#000000##000000
##AF59FD1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#2685F9
Tritanopia (blue-blind)
#A17DA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af59fd;
/* rgb */ color: rgb(175, 89, 253);
/* oklch */ color: oklch(64.4% 0.235 304.7);
Tailwind
colors: {
  custom: {
    50: '#cc8dff',
    500: '#af59fd',
    950: '#000000',
  },
}
SCSS
$custom: #af59fd;
$custom-light: #cc8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#af59fd",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 253
  },
  "hsl": {
    "h": 271.463,
    "s": 97.619,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64355,
    "c": 0.23526,
    "h": 304.7
  },
  "luminance": 0.23351
}

Semantic roles & 50–950 ramp

primary
#AF59FD
secondary
#D8F3BF
accent
#E6006D
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D18
muted
#837D86

Preview Lab

Preview with #AF59FD

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

Preview Lab → · Contrast checker → · Palette generator →

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