#AF65DC#AF65DC

#AF65DC is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.9% C 0.183 H 311.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AF65DC
RGBrgb(175, 101, 220)
HSLhsl(277, 63%, 63%)
HSVhsv(277, 54%, 86%)
CMYKcmyk(20.5%, 54.1%, 0%, 13.7%)
CIE-LABlab(55.67, 50.29, -49.36)
CIE-LCHlch(55.67, 70.47, 315.53°)
OKLaboklab(63.9% 0.1201 -0.1383)
OKLCHoklch(63.9% 0.183 311)
XYZxyz(35.2488, 23.5893, 70.3926)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65DC #92DC65
analogous
#7365DC #AF65DC #DC65CD
triadic
#AF65DC #DCAF65 #65DCAF
tetradic
#AF65DC #DC7365 #92DC65 #65CDDC
square
#AF65DC #DC7365 #92DC65 #65CDDC
split-complementary
#AF65DC #CDDC65 #65DC73
monochromatic
#7325A2 #9533D1 #AF65DC #C997E7 #E3C9F3

Accessibility & contrast

On white

3.67
#AF65DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#AF65DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65DC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65DC#FFFFFF#000000##000000
##AF65DC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#5C87D9
Tritanopia (blue-blind)
#AA7A97
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af65dc;
/* rgb */ color: rgb(175, 101, 220);
/* oklch */ color: oklch(63.9% 0.183 311.0);
Tailwind
colors: {
  custom: {
    50: '#ca94e7',
    500: '#af65dc',
    950: '#000000',
  },
}
SCSS
$custom: #af65dc;
$custom-light: #ca94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af65dc",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 277.311,
    "s": 62.963,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63904,
    "c": 0.18317,
    "h": 311
  },
  "luminance": 0.23589
}

Semantic roles & 50–950 ramp

primary
#AF65DC
secondary
#C9E4B9
accent
#CB1B5D
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF65DC

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

Preview Lab → · Contrast checker → · Palette generator →

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