#AF65CB#AF65CB

#AF65CB is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.0% C 0.165 H 316.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF65CB
RGBrgb(175, 101, 203)
HSLhsl(284, 50%, 60%)
HSVhsv(284, 50%, 80%)
CMYKcmyk(13.8%, 50.2%, 0%, 20.4%)
CIE-LABlab(54.80, 46.65, -41.11)
CIE-LCHlch(54.80, 62.18, 318.61°)
OKLaboklab(62.97% 0.1186 -0.1143)
OKLCHoklch(62.97% 0.165 316.1)
XYZxyz(33.1107, 22.7341, 59.1323)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65CB #81CB65
analogous
#7C65CB #AF65CB #CB65B4
triadic
#AF65CB #CBAF65 #65CBAF
tetradic
#AF65CB #CB7C65 #81CB65 #65B4CB
square
#AF65CB #CB7C65 #81CB65 #65B4CB
split-complementary
#AF65CB #B4CB65 #65CB7C
monochromatic
#6F2E88 #953DB6 #AF65CB #C793DA #DFC1EA

Accessibility & contrast

On white

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

On black

5.55
#AF65CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65CB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65CB#FFFFFF#000000##000000
##AF65CB1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCE
Deuteranopia (green-blind)
#6685C8
Tritanopia (blue-blind)
#AE748F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af65cb;
/* rgb */ color: rgb(175, 101, 203);
/* oklch */ color: oklch(63.0% 0.165 316.1);
Tailwind
colors: {
  custom: {
    50: '#c993db',
    500: '#af65cb',
    950: '#000000',
  },
}
SCSS
$custom: #af65cb;
$custom-light: #c993db;
$custom-dark: #000000;
JSON
{
  "hex": "#af65cb",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 283.529,
    "s": 49.515,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62972,
    "c": 0.16469,
    "h": 316.1
  },
  "luminance": 0.22733
}

Semantic roles & 50–950 ramp

primary
#AF65CB
secondary
#BDDAB2
accent
#D94F75
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF65CB

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

Preview Lab → · Contrast checker → · Palette generator →

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