#AF65CA#AF65CA

#AF65CA is a light, vivid purple. Relative luminance 0.227; OKLCH L 62.9% C 0.164 H 316.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF65CA
RGBrgb(175, 101, 202)
HSLhsl(284, 49%, 59%)
HSVhsv(284, 50%, 79%)
CMYKcmyk(13.4%, 50%, 0%, 20.8%)
CIE-LABlab(54.75, 46.44, -40.62)
CIE-LCHlch(54.75, 61.70, 318.83°)
OKLaboklab(62.92% 0.1185 -0.1129)
OKLCHoklch(62.92% 0.164 316.4)
XYZxyz(32.9920, 22.6866, 58.5067)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65CA #80CA65
analogous
#7D65CA #AF65CA #CA65B3
triadic
#AF65CA #CAAF65 #65CAAF
tetradic
#AF65CA #CA7D65 #80CA65 #65B3CA
square
#AF65CA #CA7D65 #80CA65 #65B3CA
split-complementary
#AF65CA #B3CA65 #65CA7D
monochromatic
#6F2E86 #943EB4 #AF65CA #C793DA #DEC0E9

Accessibility & contrast

On white

3.79
#AF65CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#AF65CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65CA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65CA#FFFFFF#000000##000000
##AF65CA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECD
Deuteranopia (green-blind)
#6785C7
Tritanopia (blue-blind)
#AE748E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af65ca;
/* rgb */ color: rgb(175, 101, 202);
/* oklch */ color: oklch(62.9% 0.164 316.4);
Tailwind
colors: {
  custom: {
    50: '#c993da',
    500: '#af65ca',
    950: '#000000',
  },
}
SCSS
$custom: #af65ca;
$custom-light: #c993da;
$custom-dark: #000000;
JSON
{
  "hex": "#af65ca",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 283.96,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6292,
    "c": 0.16362,
    "h": 316.4
  },
  "luminance": 0.22686
}

Semantic roles & 50–950 ramp

primary
#AF65CA
secondary
#BCD9B2
accent
#D84F74
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF65CA

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

Preview Lab → · Contrast checker → · Palette generator →

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