#AF65D8#AF65D8

#AF65D8 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.7% C 0.179 H 312.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF65D8
RGBrgb(175, 101, 216)
HSLhsl(279, 60%, 62%)
HSVhsv(279, 53%, 85%)
CMYKcmyk(19%, 53.2%, 0%, 15.3%)
CIE-LABlab(55.46, 49.42, -47.44)
CIE-LCHlch(55.46, 68.50, 316.17°)
OKLaboklab(63.68% 0.1198 -0.1327)
OKLCHoklch(63.68% 0.179 312.1)
XYZxyz(34.7254, 23.3800, 67.6359)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65D8 #8ED865
analogous
#7665D8 #AF65D8 #D865C7
triadic
#AF65D8 #D8AF65 #65D8AF
tetradic
#AF65D8 #D87665 #8ED865 #65C7D8
square
#AF65D8 #D87665 #8ED865 #65C7D8
split-complementary
#AF65D8 #C7D865 #65D876
monochromatic
#72279B #9634CC #AF65D8 #C896E4 #E2C7F1

Accessibility & contrast

On white

3.70
#AF65D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#AF65D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65D8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65D8#FFFFFF#000000##000000
##AF65D81.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4681DC
Deuteranopia (green-blind)
#5E86D5
Tritanopia (blue-blind)
#AB7895
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af65d8;
/* rgb */ color: rgb(175, 101, 216);
/* oklch */ color: oklch(63.7% 0.179 312.1);
Tailwind
colors: {
  custom: {
    50: '#c993e4',
    500: '#af65d8',
    950: '#000000',
  },
}
SCSS
$custom: #af65d8;
$custom-light: #c993e4;
$custom-dark: #000000;
JSON
{
  "hex": "#af65d8",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 216
  },
  "hsl": {
    "h": 278.609,
    "s": 59.585,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63679,
    "c": 0.17879,
    "h": 312.1
  },
  "luminance": 0.23379
}

Semantic roles & 50–950 ramp

primary
#AF65D8
secondary
#C6E2B7
accent
#C71E5B
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF65D8

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

Preview Lab → · Contrast checker → · Palette generator →

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