#AF65C8#AF65C8

#AF65C8 is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.8% C 0.161 H 317.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AF65C8
RGBrgb(175, 101, 200)
HSLhsl(285, 47%, 59%)
HSVhsv(285, 50%, 78%)
CMYKcmyk(12.5%, 49.5%, 0%, 21.6%)
CIE-LABlab(54.65, 46.03, -39.63)
CIE-LCHlch(54.65, 60.74, 319.27°)
OKLaboklab(62.82% 0.1182 -0.11)
OKLCHoklch(62.82% 0.161 317.1)
XYZxyz(32.7567, 22.5925, 57.2677)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65C8 #7EC865
analogous
#7E65C8 #AF65C8 #C865B0
triadic
#AF65C8 #C8AF65 #65C8AF
tetradic
#AF65C8 #C87E65 #7EC865 #65B0C8
square
#AF65C8 #C87E65 #7EC865 #65B0C8
split-complementary
#AF65C8 #B0C865 #65C87E
monochromatic
#6E2F84 #943FB1 #AF65C8 #C692D8 #DEBFE8

Accessibility & contrast

On white

3.81
#AF65C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AF65C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65C8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65C8#FFFFFF#000000##000000
##AF65C81.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#6885C5
Tritanopia (blue-blind)
#AE738D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af65c8;
/* rgb */ color: rgb(175, 101, 200);
/* oklch */ color: oklch(62.8% 0.161 317.1);
Tailwind
colors: {
  custom: {
    50: '#c993d9',
    500: '#af65c8',
    950: '#000000',
  },
}
SCSS
$custom: #af65c8;
$custom-light: #c993d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af65c8",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 200
  },
  "hsl": {
    "h": 284.848,
    "s": 47.368,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62815,
    "c": 0.16147,
    "h": 317.1
  },
  "luminance": 0.22591
}

Semantic roles & 50–950 ramp

primary
#AF65C8
secondary
#BBD8B1
accent
#D75173
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #AF65C8

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

Preview Lab → · Contrast checker → · Palette generator →

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