#AF65CD#AF65CD

#AF65CD is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.1% C 0.167 H 315.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AF65CD
RGBrgb(175, 101, 205)
HSLhsl(283, 51%, 60%)
HSVhsv(283, 51%, 80%)
CMYKcmyk(14.6%, 50.7%, 0%, 19.6%)
CIE-LABlab(54.90, 47.07, -42.09)
CIE-LCHlch(54.90, 63.15, 318.20°)
OKLaboklab(63.08% 0.1188 -0.1171)
OKLCHoklch(63.08% 0.167 315.4)
XYZxyz(33.3506, 22.8301, 60.3956)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65CD #83CD65
analogous
#7B65CD #AF65CD #CD65B7
triadic
#AF65CD #CDAF65 #65CDAF
tetradic
#AF65CD #CD7B65 #83CD65 #65B7CD
square
#AF65CD #CD7B65 #83CD65 #65B7CD
split-complementary
#AF65CD #B7CD65 #65CD7B
monochromatic
#702D8B #953CB9 #AF65CD #C793DC #DFC1EB

Accessibility & contrast

On white

3.77
#AF65CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AF65CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65CD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65CD#FFFFFF#000000##000000
##AF65CD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD1
Deuteranopia (green-blind)
#6586CA
Tritanopia (blue-blind)
#AD7590
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af65cd;
/* rgb */ color: rgb(175, 101, 205);
/* oklch */ color: oklch(63.1% 0.167 315.4);
Tailwind
colors: {
  custom: {
    50: '#c993dc',
    500: '#af65cd',
    950: '#000000',
  },
}
SCSS
$custom: #af65cd;
$custom-light: #c993dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af65cd",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 282.692,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.63078,
    "c": 0.16685,
    "h": 315.4
  },
  "luminance": 0.22829
}

Semantic roles & 50–950 ramp

primary
#AF65CD
secondary
#BEDBB3
accent
#DA4D76
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF65CD

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

Preview Lab → · Contrast checker → · Palette generator →

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