#AF59E7#AF59E7

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

Color values

HEX#AF59E7
RGBrgb(175, 89, 231)
HSLhsl(276, 75%, 63%)
HSVhsv(276, 61%, 91%)
CMYKcmyk(24.2%, 61.5%, 0%, 9.4%)
CIE-LABlab(54.06, 58.69, -58.13)
CIE-LCHlch(54.06, 82.61, 315.27°)
OKLaboklab(62.93% 0.1352 -0.1639)
OKLCHoklch(62.93% 0.212 309.5)
XYZxyz(35.6726, 22.0289, 77.9586)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59E7 #91E759
analogous
#6859E7 #AF59E7 #E759D8
triadic
#AF59E7 #E7AF59 #59E7AF
tetradic
#AF59E7 #E76859 #91E759 #59D8E7
square
#AF59E7 #E76859 #91E759 #59D8E7
split-complementary
#AF59E7 #D8E759 #59E768
monochromatic
#7219AD #9524DF #AF59E7 #C98EEF #E3C4F6

Accessibility & contrast

On white

3.88
#AF59E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#AF59E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59E7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59E7#FFFFFF#000000##000000
##AF59E71.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#137EEB
Deuteranopia (green-blind)
#4683E4
Tritanopia (blue-blind)
#A77598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af59e7;
/* rgb */ color: rgb(175, 89, 231);
/* oklch */ color: oklch(62.9% 0.212 309.5);
Tailwind
colors: {
  custom: {
    50: '#cb8cef',
    500: '#af59e7',
    950: '#000000',
  },
}
SCSS
$custom: #af59e7;
$custom-light: #cb8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#af59e7",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 276.338,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62925,
    "c": 0.21247,
    "h": 309.5
  },
  "luminance": 0.22028
}

Semantic roles & 50–950 ramp

primary
#AF59E7
secondary
#C8E8B4
accent
#D70F5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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