#AF60DF#AF60DF

#AF60DF is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.4% C 0.194 H 310.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF60DF
RGBrgb(175, 96, 223)
HSLhsl(277, 66%, 63%)
HSVhsv(277, 57%, 87%)
CMYKcmyk(21.5%, 57%, 0%, 12.5%)
CIE-LABlab(54.87, 53.50, -52.33)
CIE-LCHlch(54.87, 74.83, 315.64°)
OKLaboklab(63.37% 0.1267 -0.1469)
OKLCHoklch(63.37% 0.194 310.8)
XYZxyz(35.1789, 22.8081, 72.3470)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60DF #90DF60
analogous
#7060DF #AF60DF #DF60CF
triadic
#AF60DF #DFAF60 #60DFAF
tetradic
#AF60DF #DF7060 #90DF60 #60CFDF
square
#AF60DF #DF7060 #90DF60 #60CFDF
split-complementary
#AF60DF #CFDF60 #60DF70
monochromatic
#7221A4 #952DD5 #AF60DF #C993E9 #E2C6F4

Accessibility & contrast

On white

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

On black

5.56
#AF60DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60DF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60DF#FFFFFF#000000##000000
##AF60DF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3680E3
Deuteranopia (green-blind)
#5585DC
Tritanopia (blue-blind)
#A97796
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af60df;
/* rgb */ color: rgb(175, 96, 223);
/* oklch */ color: oklch(63.4% 0.194 310.8);
Tailwind
colors: {
  custom: {
    50: '#ca90e9',
    500: '#af60df',
    950: '#000000',
  },
}
SCSS
$custom: #af60df;
$custom-light: #ca90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af60df",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 277.323,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63371,
    "c": 0.19399,
    "h": 310.8
  },
  "luminance": 0.22807
}

Semantic roles & 50–950 ramp

primary
#AF60DF
secondary
#C8E4B6
accent
#CE175C
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF60DF

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

Preview Lab → · Contrast checker → · Palette generator →

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