#AF59E6#AF59E6

#AF59E6 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.9% C 0.211 H 309.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF59E6
RGBrgb(175, 89, 230)
HSLhsl(277, 74%, 63%)
HSVhsv(277, 61%, 90%)
CMYKcmyk(23.9%, 61.3%, 0%, 9.8%)
CIE-LABlab(54.00, 58.47, -57.67)
CIE-LCHlch(54.00, 82.13, 315.40°)
OKLaboklab(62.86% 0.1352 -0.1625)
OKLCHoklch(62.86% 0.211 309.8)
XYZxyz(35.5317, 21.9726, 77.2169)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59E6 #90E659
analogous
#6959E6 #AF59E6 #E659D6
triadic
#AF59E6 #E6AF59 #59E6AF
tetradic
#AF59E6 #E66959 #90E659 #59D6E6
square
#AF59E6 #E66959 #90E659 #59D6E6
split-complementary
#AF59E6 #D6E659 #59E669
monochromatic
#721AAB #9524DE #AF59E6 #C98EEE #E2C3F6

Accessibility & contrast

On white

3.89
#AF59E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#AF59E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59E6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59E6#FFFFFF#000000##000000
##AF59E61.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#177DEA
Deuteranopia (green-blind)
#4782E3
Tritanopia (blue-blind)
#A87497
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af59e6;
/* rgb */ color: rgb(175, 89, 230);
/* oklch */ color: oklch(62.9% 0.211 309.8);
Tailwind
colors: {
  custom: {
    50: '#cb8cef',
    500: '#af59e6',
    950: '#000000',
  },
}
SCSS
$custom: #af59e6;
$custom-light: #cb8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#af59e6",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 276.596,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62862,
    "c": 0.21143,
    "h": 309.8
  },
  "luminance": 0.21972
}

Semantic roles & 50–950 ramp

primary
#AF59E6
secondary
#C8E7B4
accent
#D6105D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF59E6

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

Preview Lab → · Contrast checker → · Palette generator →

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