#AF62DA#AF62DA

#AF62DA is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.4% C 0.186 H 311.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF62DA
RGBrgb(175, 98, 218)
HSLhsl(279, 62%, 62%)
HSVhsv(279, 55%, 85%)
CMYKcmyk(19.7%, 55%, 0%, 14.5%)
CIE-LABlab(54.98, 51.40, -49.33)
CIE-LCHlch(54.98, 71.24, 316.18°)
OKLaboklab(63.36% 0.1239 -0.1382)
OKLCHoklch(63.36% 0.186 311.9)
XYZxyz(34.6995, 22.9121, 68.9106)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62DA #8DDA62
analogous
#7362DA #AF62DA #DA62C9
triadic
#AF62DA #DAAF62 #62DAAF
tetradic
#AF62DA #DA7362 #8DDA62 #62C9DA
square
#AF62DA #DA7362 #8DDA62 #62C9DA
split-complementary
#AF62DA #C9DA62 #62DA73
monochromatic
#72259D #9631CE #AF62DA #C894E6 #E1C5F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF62DA#FFFFFF#000000##000000
##AF62DA1.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)
#3F80DE
Deuteranopia (green-blind)
#5A85D7
Tritanopia (blue-blind)
#AA7795
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af62da;
/* rgb */ color: rgb(175, 98, 218);
/* oklch */ color: oklch(63.4% 0.186 311.9);
Tailwind
colors: {
  custom: {
    50: '#ca92e6',
    500: '#af62da',
    950: '#000000',
  },
}
SCSS
$custom: #af62da;
$custom-light: #ca92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af62da",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 278.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63361,
    "c": 0.1856,
    "h": 311.9
  },
  "luminance": 0.22911
}

Semantic roles & 50–950 ramp

primary
#AF62DA
secondary
#C6E2B6
accent
#CA1C5A
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF62DA

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

Preview Lab → · Contrast checker → · Palette generator →

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