#AF60DC#AF60DC

#AF60DC is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.2% C 0.191 H 311.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF60DC
RGBrgb(175, 96, 220)
HSLhsl(278, 64%, 62%)
HSVhsv(278, 56%, 86%)
CMYKcmyk(20.5%, 56.4%, 0%, 13.7%)
CIE-LABlab(54.71, 52.85, -50.90)
CIE-LCHlch(54.71, 73.37, 316.08°)
OKLaboklab(63.2% 0.1266 -0.1428)
OKLCHoklch(63.2% 0.191 311.6)
XYZxyz(34.7780, 22.6478, 70.2357)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60DC #8DDC60
analogous
#7160DC #AF60DC #DC60CB
triadic
#AF60DC #DCAF60 #60DCAF
tetradic
#AF60DC #DC7160 #8DDC60 #60CBDC
square
#AF60DC #DC7160 #8DDC60 #60CBDC
split-complementary
#AF60DC #CBDC60 #60DC71
monochromatic
#72239F #962ED1 #AF60DC #C892E7 #E1C4F2

Accessibility & contrast

On white

3.80
#AF60DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#AF60DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60DC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60DC#FFFFFF#000000##000000
##AF60DC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE0
Deuteranopia (green-blind)
#5785D9
Tritanopia (blue-blind)
#AA7695
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af60dc;
/* rgb */ color: rgb(175, 96, 220);
/* oklch */ color: oklch(63.2% 0.191 311.6);
Tailwind
colors: {
  custom: {
    50: '#ca90e7',
    500: '#af60dc',
    950: '#000000',
  },
}
SCSS
$custom: #af60dc;
$custom-light: #ca90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af60dc",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 278.226,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.19078,
    "h": 311.6
  },
  "luminance": 0.22647
}

Semantic roles & 50–950 ramp

primary
#AF60DC
secondary
#C6E3B5
accent
#CC1A5A
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF60DC

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

Preview Lab → · Contrast checker → · Palette generator →

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