#AF60EF#AF60EF

#AF60EF is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.3% C 0.211 H 306.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF60EF
RGBrgb(175, 96, 239)
HSLhsl(273, 82%, 66%)
HSVhsv(273, 60%, 94%)
CMYKcmyk(26.8%, 59.8%, 0%, 6.3%)
CIE-LABlab(55.80, 57.04, -59.82)
CIE-LCHlch(55.80, 82.66, 313.64°)
OKLaboklab(64.34% 0.1267 -0.1689)
OKLCHoklch(64.34% 0.211 306.9)
XYZxyz(37.4388, 23.7121, 84.2492)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60EF #A0EF60
analogous
#6760EF #AF60EF #EF60E7
triadic
#AF60EF #EFAF60 #60EFAF
tetradic
#AF60EF #EF6760 #A0EF60 #60E7EF
square
#AF60EF #EF6760 #A0EF60 #60E7EF
split-complementary
#AF60EF #E7EF60 #60EF67
monochromatic
#7313C1 #9328E9 #AF60EF #CB98F5 #E7CFFA

Accessibility & contrast

On white

3.66
#AF60EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AF60EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60EF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60EF#FFFFFF#000000##000000
##AF60EF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F4
Deuteranopia (green-blind)
#4686EC
Tritanopia (blue-blind)
#A57C9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af60ef;
/* rgb */ color: rgb(175, 96, 239);
/* oklch */ color: oklch(64.3% 0.211 306.9);
Tailwind
colors: {
  custom: {
    50: '#cb91f5',
    500: '#af60ef',
    950: '#000000',
  },
}
SCSS
$custom: #af60ef;
$custom-light: #cb91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af60ef",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 239
  },
  "hsl": {
    "h": 273.147,
    "s": 81.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.21116,
    "h": 306.9
  },
  "luminance": 0.23712
}

Semantic roles & 50–950 ramp

primary
#AF60EF
secondary
#D3EDBE
accent
#DE0767
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF60EF

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

Preview Lab → · Contrast checker → · Palette generator →

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