#AF65DE#AF65DE

#AF65DE is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.0% C 0.185 H 310.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF65DE
RGBrgb(175, 101, 222)
HSLhsl(277, 65%, 63%)
HSVhsv(277, 55%, 87%)
CMYKcmyk(21.2%, 54.5%, 0%, 12.9%)
CIE-LABlab(55.78, 50.73, -50.32)
CIE-LCHlch(55.78, 71.45, 315.23°)
OKLaboklab(64.02% 0.1202 -0.1411)
OKLCHoklch(64.02% 0.185 310.4)
XYZxyz(35.5152, 23.6959, 71.7959)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65DE #94DE65
analogous
#7265DE #AF65DE #DE65D1
triadic
#AF65DE #DEAF65 #65DEAF
tetradic
#AF65DE #DE7265 #94DE65 #65D1DE
square
#AF65DE #DE7265 #94DE65 #65D1DE
split-complementary
#AF65DE #D1DE65 #65DE72
monochromatic
#7323A5 #9533D3 #AF65DE #C997E9 #E3CAF4

Accessibility & contrast

On white

3.66
#AF65DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AF65DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65DE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65DE#FFFFFF#000000##000000
##AF65DE1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E2
Deuteranopia (green-blind)
#5A87DB
Tritanopia (blue-blind)
#A97A98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af65de;
/* rgb */ color: rgb(175, 101, 222);
/* oklch */ color: oklch(64.0% 0.185 310.4);
Tailwind
colors: {
  custom: {
    50: '#ca94e9',
    500: '#af65de',
    950: '#000000',
  },
}
SCSS
$custom: #af65de;
$custom-light: #ca94e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af65de",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 222
  },
  "hsl": {
    "h": 276.694,
    "s": 64.706,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64019,
    "c": 0.18536,
    "h": 310.4
  },
  "luminance": 0.23695
}

Semantic roles & 50–950 ramp

primary
#AF65DE
secondary
#CBE5BA
accent
#CD195F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF65DE

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

Preview Lab → · Contrast checker → · Palette generator →

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