#AF59ED#AF59ED

#AF59ED is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.3% C 0.219 H 308.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AF59ED
RGBrgb(175, 89, 237)
HSLhsl(275, 80%, 64%)
HSVhsv(275, 62%, 93%)
CMYKcmyk(26.2%, 62.4%, 0%, 7.1%)
CIE-LABlab(54.42, 60.01, -60.91)
CIE-LCHlch(54.42, 85.51, 314.57°)
OKLaboklab(63.31% 0.1349 -0.1721)
OKLCHoklch(63.31% 0.219 308.1)
XYZxyz(36.5345, 22.3737, 82.4982)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59ED #97ED59
analogous
#6559ED #AF59ED #ED59E1
triadic
#AF59ED #EDAF59 #59EDAF
tetradic
#AF59ED #ED6559 #97ED59 #59E1ED
square
#AF59ED #ED6559 #97ED59 #59E1ED
split-complementary
#AF59ED #E1ED59 #59ED65
monochromatic
#7314B8 #9422E7 #AF59ED #CA90F3 #E4C7F9

Accessibility & contrast

On white

3.84
#AF59ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#AF59ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59ED
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59ED#FFFFFF#000000##000000
##AF59ED1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#3F83EA
Tritanopia (blue-blind)
#A6779B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af59ed;
/* rgb */ color: rgb(175, 89, 237);
/* oklch */ color: oklch(63.3% 0.219 308.1);
Tailwind
colors: {
  custom: {
    50: '#cb8df4',
    500: '#af59ed',
    950: '#000000',
  },
}
SCSS
$custom: #af59ed;
$custom-light: #cb8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#af59ed",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 274.865,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63305,
    "c": 0.21868,
    "h": 308.1
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

primary
#AF59ED
secondary
#CDEBB7
accent
#DD0962
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF59ED

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

Preview Lab → · Contrast checker → · Palette generator →

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