#AF59F4#AF59F4

#AF59F4 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.8% C 0.226 H 306.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF59F4
RGBrgb(175, 89, 244)
HSLhsl(273, 88%, 65%)
HSVhsv(273, 64%, 96%)
CMYKcmyk(28.3%, 63.5%, 0%, 4.3%)
CIE-LABlab(54.86, 61.56, -64.12)
CIE-LCHlch(54.86, 88.89, 313.83°)
OKLaboklab(63.76% 0.1346 -0.1815)
OKLCHoklch(63.76% 0.226 306.6)
XYZxyz(37.5772, 22.7908, 87.9899)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59F4 #9EF459
analogous
#6159F4 #AF59F4 #F459EC
triadic
#AF59F4 #F4AF59 #59F4AF
tetradic
#AF59F4 #F46159 #9EF459 #59ECF4
square
#AF59F4 #F46159 #9EF459 #59ECF4
split-complementary
#AF59F4 #ECF459 #59F461
monochromatic
#730DC6 #9320F0 #AF59F4 #CB92F8 #E6CCFC

Accessibility & contrast

On white

3.78
#AF59F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AF59F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59F4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59F4#FFFFFF#000000##000000
##AF59F41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#3684F1
Tritanopia (blue-blind)
#A4799F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af59f4;
/* rgb */ color: rgb(175, 89, 244);
/* oklch */ color: oklch(63.8% 0.226 306.6);
Tailwind
colors: {
  custom: {
    50: '#cb8df9',
    500: '#af59f4',
    950: '#000000',
  },
}
SCSS
$custom: #af59f4;
$custom-light: #cb8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#af59f4",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 244
  },
  "hsl": {
    "h": 273.29,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63758,
    "c": 0.22594,
    "h": 306.6
  },
  "luminance": 0.2279
}

Semantic roles & 50–950 ramp

primary
#AF59F4
secondary
#D2EFBA
accent
#E40166
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF59F4

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

Preview Lab → · Contrast checker → · Palette generator →

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