#AF60DD#AF60DD

#AF60DD is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.3% C 0.192 H 311.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF60DD
RGBrgb(175, 96, 221)
HSLhsl(278, 65%, 62%)
HSVhsv(278, 57%, 87%)
CMYKcmyk(20.8%, 56.6%, 0%, 13.3%)
CIE-LABlab(54.76, 53.06, -51.37)
CIE-LCHlch(54.76, 73.86, 315.93°)
OKLaboklab(63.25% 0.1266 -0.1442)
OKLCHoklch(63.25% 0.192 311.3)
XYZxyz(34.9108, 22.7009, 70.9352)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60DD #8EDD60
analogous
#7160DD #AF60DD #DD60CD
triadic
#AF60DD #DDAF60 #60DDAF
tetradic
#AF60DD #DD7160 #8EDD60 #60CDDD
square
#AF60DD #DD7160 #8EDD60 #60CDDD
split-complementary
#AF60DD #CDDD60 #60DD71
monochromatic
#7222A0 #962ED2 #AF60DD #C892E8 #E2C5F3

Accessibility & contrast

On white

3.79
#AF60DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#AF60DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60DD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60DD#FFFFFF#000000##000000
##AF60DD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE1
Deuteranopia (green-blind)
#5685DA
Tritanopia (blue-blind)
#AA7695
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af60dd;
/* rgb */ color: rgb(175, 96, 221);
/* oklch */ color: oklch(63.3% 0.192 311.3);
Tailwind
colors: {
  custom: {
    50: '#ca90e8',
    500: '#af60dd',
    950: '#000000',
  },
}
SCSS
$custom: #af60dd;
$custom-light: #ca90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af60dd",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 221
  },
  "hsl": {
    "h": 277.92,
    "s": 64.767,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63253,
    "c": 0.19185,
    "h": 311.3
  },
  "luminance": 0.227
}

Semantic roles & 50–950 ramp

primary
#AF60DD
secondary
#C6E3B5
accent
#CD195B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF60DD

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

Preview Lab → · Contrast checker → · Palette generator →

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