#AF65D2#AF65D2

#AF65D2 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.3% C 0.172 H 313.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF65D2
RGBrgb(175, 101, 210)
HSLhsl(281, 55%, 61%)
HSVhsv(281, 52%, 82%)
CMYKcmyk(16.7%, 51.9%, 0%, 17.6%)
CIE-LABlab(55.15, 48.13, -44.53)
CIE-LCHlch(55.15, 65.57, 317.22°)
OKLaboklab(63.35% 0.1193 -0.1242)
OKLCHoklch(63.35% 0.172 313.8)
XYZxyz(33.9638, 23.0754, 63.6251)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65D2 #88D265
analogous
#7865D2 #AF65D2 #D265BE
triadic
#AF65D2 #D2AF65 #65D2AF
tetradic
#AF65D2 #D27865 #88D265 #65BED2
square
#AF65D2 #D27865 #88D265 #65BED2
split-complementary
#AF65D2 #BED265 #65D278
monochromatic
#712B92 #9538C1 #AF65D2 #C894E0 #E0C4EE

Accessibility & contrast

On white

3.74
#AF65D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#AF65D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65D2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65D2#FFFFFF#000000##000000
##AF65D21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D6
Deuteranopia (green-blind)
#6286CF
Tritanopia (blue-blind)
#AC7692
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af65d2;
/* rgb */ color: rgb(175, 101, 210);
/* oklch */ color: oklch(63.3% 0.172 313.8);
Tailwind
colors: {
  custom: {
    50: '#c993e0',
    500: '#af65d2',
    950: '#000000',
  },
}
SCSS
$custom: #af65d2;
$custom-light: #c993e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af65d2",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 210
  },
  "hsl": {
    "h": 280.734,
    "s": 54.774,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63348,
    "c": 0.17225,
    "h": 313.8
  },
  "luminance": 0.23074
}

Semantic roles & 50–950 ramp

primary
#AF65D2
secondary
#C2DEB5
accent
#C22356
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF65D2

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

Preview Lab → · Contrast checker → · Palette generator →

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