#AF59F6#AF59F6

#AF59F6 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.9% C 0.228 H 306.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF59F6
RGBrgb(175, 89, 246)
HSLhsl(273, 90%, 66%)
HSVhsv(273, 64%, 96%)
CMYKcmyk(28.9%, 63.8%, 0%, 3.5%)
CIE-LABlab(54.98, 62.00, -65.03)
CIE-LCHlch(54.98, 89.85, 313.63°)
OKLaboklab(63.89% 0.1344 -0.1842)
OKLCHoklch(63.89% 0.228 306.1)
XYZxyz(37.8825, 22.9129, 89.5978)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59F6 #A0F659
analogous
#6059F6 #AF59F6 #F659EF
triadic
#AF59F6 #F6AF59 #59F6AF
tetradic
#AF59F6 #F66059 #A0F659 #59EFF6
square
#AF59F6 #F66059 #A0F659 #59EFF6
split-complementary
#AF59F6 #EFF659 #59F660
monochromatic
#730BCA #931FF3 #AF59F6 #CB93F9 #E7CDFC

Accessibility & contrast

On white

3.76
#AF59F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#AF59F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59F6
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59F6#FFFFFF#000000##000000
##AF59F61.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#3384F3
Tritanopia (blue-blind)
#A37AA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af59f6;
/* rgb */ color: rgb(175, 89, 246);
/* oklch */ color: oklch(63.9% 0.228 306.1);
Tailwind
colors: {
  custom: {
    50: '#cb8dfa',
    500: '#af59f6',
    950: '#000000',
  },
}
SCSS
$custom: #af59f6;
$custom-light: #cb8dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#af59f6",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 246
  },
  "hsl": {
    "h": 272.866,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63889,
    "c": 0.22801,
    "h": 306.1
  },
  "luminance": 0.22913
}

Semantic roles & 50–950 ramp

primary
#AF59F6
secondary
#D3F0BB
accent
#E60068
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #AF59F6

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

Preview Lab → · Contrast checker → · Palette generator →

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