#AF65DD#AF65DD

#AF65DD is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.0% C 0.184 H 310.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AF65DD
RGBrgb(175, 101, 221)
HSLhsl(277, 64%, 63%)
HSVhsv(277, 54%, 87%)
CMYKcmyk(20.8%, 54.3%, 0%, 13.3%)
CIE-LABlab(55.73, 50.51, -49.84)
CIE-LCHlch(55.73, 70.96, 315.38°)
OKLaboklab(63.96% 0.1202 -0.1397)
OKLCHoklch(63.96% 0.184 310.7)
XYZxyz(35.3816, 23.6425, 71.0922)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65DD #93DD65
analogous
#7365DD #AF65DD #DD65CF
triadic
#AF65DD #DDAF65 #65DDAF
tetradic
#AF65DD #DD7365 #93DD65 #65CFDD
square
#AF65DD #DD7365 #93DD65 #65CFDD
split-complementary
#AF65DD #CFDD65 #65DD73
monochromatic
#7324A4 #9533D2 #AF65DD #C997E8 #E3C9F3

Accessibility & contrast

On white

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

On black

5.73
#AF65DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65DD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65DD#FFFFFF#000000##000000
##AF65DD1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E1
Deuteranopia (green-blind)
#5B87DA
Tritanopia (blue-blind)
#A97A98
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af65dd;
/* rgb */ color: rgb(175, 101, 221);
/* oklch */ color: oklch(64.0% 0.184 310.7);
Tailwind
colors: {
  custom: {
    50: '#ca94e8',
    500: '#af65dd',
    950: '#000000',
  },
}
SCSS
$custom: #af65dd;
$custom-light: #ca94e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af65dd",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 277,
    "s": 63.83,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63961,
    "c": 0.18427,
    "h": 310.7
  },
  "luminance": 0.23642
}

Semantic roles & 50–950 ramp

primary
#AF65DD
secondary
#CAE4B9
accent
#CC1A5E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF65DD

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

Preview Lab → · Contrast checker → · Palette generator →

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