#AF59F3#AF59F3

#AF59F3 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.7% C 0.225 H 306.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF59F3
RGBrgb(175, 89, 243)
HSLhsl(274, 87%, 65%)
HSVhsv(274, 63%, 95%)
CMYKcmyk(28%, 63.4%, 0%, 4.7%)
CIE-LABlab(54.79, 61.33, -63.67)
CIE-LCHlch(54.79, 88.40, 313.93°)
OKLaboklab(63.69% 0.1346 -0.1802)
OKLCHoklch(63.69% 0.225 306.8)
XYZxyz(37.4258, 22.7302, 87.1924)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59F3 #9DF359
analogous
#6259F3 #AF59F3 #F359EA
triadic
#AF59F3 #F3AF59 #59F3AF
tetradic
#AF59F3 #F36259 #9DF359 #59EAF3
square
#AF59F3 #F36259 #9DF359 #59EAF3
split-complementary
#AF59F3 #EAF359 #59F362
monochromatic
#730EC3 #9320EF #AF59F3 #CB92F7 #E6CBFB

Accessibility & contrast

On white

3.79
#AF59F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#AF59F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59F3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59F3#FFFFFF#000000##000000
##AF59F31.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#3884F0
Tritanopia (blue-blind)
#A4799E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af59f3;
/* rgb */ color: rgb(175, 89, 243);
/* oklch */ color: oklch(63.7% 0.225 306.8);
Tailwind
colors: {
  custom: {
    50: '#cb8df8',
    500: '#af59f3',
    950: '#000000',
  },
}
SCSS
$custom: #af59f3;
$custom-light: #cb8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#af59f3",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 243
  },
  "hsl": {
    "h": 273.506,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63692,
    "c": 0.22491,
    "h": 306.8
  },
  "luminance": 0.2273
}

Semantic roles & 50–950 ramp

primary
#AF59F3
secondary
#D1EEBA
accent
#E30266
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF59F3

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

Preview Lab → · Contrast checker → · Palette generator →

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