#AF59F1#AF59F1

#AF59F1 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.6% C 0.223 H 307.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AF59F1
RGBrgb(175, 89, 241)
HSLhsl(274, 84%, 65%)
HSVhsv(274, 63%, 95%)
CMYKcmyk(27.4%, 63.1%, 0%, 5.5%)
CIE-LABlab(54.67, 60.89, -62.75)
CIE-LCHlch(54.67, 87.44, 314.14°)
OKLaboklab(63.56% 0.1348 -0.1775)
OKLCHoklch(63.56% 0.223 307.2)
XYZxyz(37.1254, 22.6100, 85.6104)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59F1 #9BF159
analogous
#6359F1 #AF59F1 #F159E7
triadic
#AF59F1 #F1AF59 #59F1AF
tetradic
#AF59F1 #F16359 #9BF159 #59E7F1
square
#AF59F1 #F16359 #9BF159 #59E7F1
split-complementary
#AF59F1 #E7F159 #59F163
monochromatic
#7310BF #9421EC #AF59F1 #CA91F6 #E5CAFB

Accessibility & contrast

On white

3.80
#AF59F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AF59F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59F1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59F1#FFFFFF#000000##000000
##AF59F11.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#3A84EE
Tritanopia (blue-blind)
#A4789D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af59f1;
/* rgb */ color: rgb(175, 89, 241);
/* oklch */ color: oklch(63.6% 0.223 307.2);
Tailwind
colors: {
  custom: {
    50: '#cb8df6',
    500: '#af59f1',
    950: '#000000',
  },
}
SCSS
$custom: #af59f1;
$custom-light: #cb8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#af59f1",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 241
  },
  "hsl": {
    "h": 273.947,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63562,
    "c": 0.22283,
    "h": 307.2
  },
  "luminance": 0.2261
}

Semantic roles & 50–950 ramp

primary
#AF59F1
secondary
#CFEDB9
accent
#E10564
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF59F1

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

Preview Lab → · Contrast checker → · Palette generator →

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