#AF65DF#AF65DF

#AF65DF is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.1% C 0.186 H 310.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF65DF
RGBrgb(175, 101, 223)
HSLhsl(276, 66%, 64%)
HSVhsv(276, 55%, 87%)
CMYKcmyk(21.5%, 54.7%, 0%, 12.5%)
CIE-LABlab(55.84, 50.95, -50.79)
CIE-LCHlch(55.84, 71.94, 315.09°)
OKLaboklab(64.08% 0.1203 -0.1425)
OKLCHoklch(64.08% 0.186 310.2)
XYZxyz(35.6497, 23.7497, 72.5039)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65DF #95DF65
analogous
#7265DF #AF65DF #DF65D2
triadic
#AF65DF #DFAF65 #65DFAF
tetradic
#AF65DF #DF7265 #95DF65 #65D2DF
square
#AF65DF #DF7265 #95DF65 #65D2DF
split-complementary
#AF65DF #D2DF65 #65DF72
monochromatic
#7323A7 #9532D4 #AF65DF #C998EA #E4CAF4

Accessibility & contrast

On white

3.65
#AF65DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AF65DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65DF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65DF#FFFFFF#000000##000000
##AF65DF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E3
Deuteranopia (green-blind)
#5A87DC
Tritanopia (blue-blind)
#A97B98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af65df;
/* rgb */ color: rgb(175, 101, 223);
/* oklch */ color: oklch(64.1% 0.186 310.2);
Tailwind
colors: {
  custom: {
    50: '#ca94e9',
    500: '#af65df',
    950: '#000000',
  },
}
SCSS
$custom: #af65df;
$custom-light: #ca94e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af65df",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 276.393,
    "s": 65.591,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64076,
    "c": 0.18645,
    "h": 310.2
  },
  "luminance": 0.23749
}

Semantic roles & 50–950 ramp

primary
#AF65DF
secondary
#CBE6BA
accent
#CD185F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF65DF

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

Preview Lab → · Contrast checker → · Palette generator →

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