#AF60DB#AF60DB

#AF60DB is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.1% C 0.190 H 311.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AF60DB
RGBrgb(175, 96, 219)
HSLhsl(279, 63%, 62%)
HSVhsv(279, 56%, 86%)
CMYKcmyk(20.1%, 56.2%, 0%, 14.1%)
CIE-LABlab(54.65, 52.63, -50.42)
CIE-LCHlch(54.65, 72.89, 316.23°)
OKLaboklab(63.14% 0.1265 -0.1414)
OKLCHoklch(63.14% 0.19 311.8)
XYZxyz(34.6460, 22.5950, 69.5403)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60DB #8CDB60
analogous
#7260DB #AF60DB #DB60C9
triadic
#AF60DB #DBAF60 #60DBAF
tetradic
#AF60DB #DB7260 #8CDB60 #60C9DB
square
#AF60DB #DB7260 #8CDB60 #60C9DB
split-complementary
#AF60DB #C9DB60 #60DB72
monochromatic
#72249D #962FCF #AF60DB #C892E6 #E1C4F2

Accessibility & contrast

On white

3.81
#AF60DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AF60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60DB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60DB#FFFFFF#000000##000000
##AF60DB1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FDF
Deuteranopia (green-blind)
#5884D8
Tritanopia (blue-blind)
#AA7694
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af60db;
/* rgb */ color: rgb(175, 96, 219);
/* oklch */ color: oklch(63.1% 0.190 311.8);
Tailwind
colors: {
  custom: {
    50: '#ca90e7',
    500: '#af60db',
    950: '#000000',
  },
}
SCSS
$custom: #af60db;
$custom-light: #ca90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af60db",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 278.537,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63137,
    "c": 0.18972,
    "h": 311.8
  },
  "luminance": 0.22594
}

Semantic roles & 50–950 ramp

primary
#AF60DB
secondary
#C5E2B5
accent
#CB1B5A
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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