#AF60DE#AF60DE

#AF60DE is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.3% C 0.193 H 311.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF60DE
RGBrgb(175, 96, 222)
HSLhsl(278, 66%, 62%)
HSVhsv(278, 57%, 87%)
CMYKcmyk(21.2%, 56.8%, 0%, 12.9%)
CIE-LABlab(54.82, 53.28, -51.85)
CIE-LCHlch(54.82, 74.35, 315.78°)
OKLaboklab(63.31% 0.1266 -0.1456)
OKLCHoklch(63.31% 0.193 311)
XYZxyz(35.0445, 22.7544, 71.6390)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60DE #8FDE60
analogous
#7060DE #AF60DE #DE60CE
triadic
#AF60DE #DEAF60 #60DEAF
tetradic
#AF60DE #DE7060 #8FDE60 #60CEDE
square
#AF60DE #DE7060 #8FDE60 #60CEDE
split-complementary
#AF60DE #CEDE60 #60DE70
monochromatic
#7222A2 #952DD3 #AF60DE #C993E9 #E2C5F3

Accessibility & contrast

On white

3.78
#AF60DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#AF60DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60DE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60DE#FFFFFF#000000##000000
##AF60DE1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE2
Deuteranopia (green-blind)
#5585DB
Tritanopia (blue-blind)
#A97796
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af60de;
/* rgb */ color: rgb(175, 96, 222);
/* oklch */ color: oklch(63.3% 0.193 311.0);
Tailwind
colors: {
  custom: {
    50: '#ca90e9',
    500: '#af60de',
    950: '#000000',
  },
}
SCSS
$custom: #af60de;
$custom-light: #ca90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af60de",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 222
  },
  "hsl": {
    "h": 277.619,
    "s": 65.625,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63312,
    "c": 0.19292,
    "h": 311
  },
  "luminance": 0.22754
}

Semantic roles & 50–950 ramp

primary
#AF60DE
secondary
#C7E4B6
accent
#CD185C
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF60DE

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

Preview Lab → · Contrast checker → · Palette generator →

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