#AF59FA#AF59FA

#AF59FA is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.2% C 0.232 H 305.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF59FA
RGBrgb(175, 89, 250)
HSLhsl(272, 94%, 66%)
HSVhsv(272, 64%, 98%)
CMYKcmyk(30%, 64.4%, 0%, 2%)
CIE-LABlab(55.24, 62.90, -66.84)
CIE-LCHlch(55.24, 91.79, 313.26°)
OKLaboklab(64.15% 0.1341 -0.1895)
OKLCHoklch(64.15% 0.232 305.3)
XYZxyz(38.5031, 23.1611, 92.8661)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59FA #A4FA59
analogous
#5F59FA #AF59FA #FA59F4
triadic
#AF59FA #FAAF59 #59FAAF
tetradic
#AF59FA #FA5F59 #A4FA59 #59F4FA
square
#AF59FA #FA5F59 #A4FA59 #59F4FA
split-complementary
#AF59FA #F4FA59 #59FA5F
monochromatic
#7306D2 #921EF8 #AF59FA #CC94FC #E8D0FE

Accessibility & contrast

On white

3.73
#AF59FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AF59FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59FA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59FA#FFFFFF#000000##000000
##AF59FA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#2C84F6
Tritanopia (blue-blind)
#A27CA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af59fa;
/* rgb */ color: rgb(175, 89, 250);
/* oklch */ color: oklch(64.2% 0.232 305.3);
Tailwind
colors: {
  custom: {
    50: '#cc8dfd',
    500: '#af59fa',
    950: '#000000',
  },
}
SCSS
$custom: #af59fa;
$custom-light: #cc8dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#af59fa",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 250
  },
  "hsl": {
    "h": 272.05,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64154,
    "c": 0.23215,
    "h": 305.3
  },
  "luminance": 0.23161
}

Semantic roles & 50–950 ramp

primary
#AF59FA
secondary
#D6F1BD
accent
#E6006B
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D18
muted
#837D86

Preview Lab

Preview with #AF59FA

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

Preview Lab → · Contrast checker → · Palette generator →

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