#AF60EE#AF60EE

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

Color values

HEX#AF60EE
RGBrgb(175, 96, 238)
HSLhsl(273, 81%, 65%)
HSVhsv(273, 60%, 93%)
CMYKcmyk(26.5%, 59.7%, 0%, 6.7%)
CIE-LABlab(55.74, 56.82, -59.36)
CIE-LCHlch(55.74, 82.17, 313.75°)
OKLaboklab(64.28% 0.1268 -0.1675)
OKLCHoklch(64.28% 0.21 307.1)
XYZxyz(37.2915, 23.6532, 83.4733)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60EE #9FEE60
analogous
#6860EE #AF60EE #EE60E6
triadic
#AF60EE #EEAF60 #60EEAF
tetradic
#AF60EE #EE6860 #9FEE60 #60E6EE
square
#AF60EE #EE6860 #9FEE60 #60E6EE
split-complementary
#AF60EE #E6EE60 #60EE68
monochromatic
#7314BF #9329E8 #AF60EE #CB97F4 #E7CFFA

Accessibility & contrast

On white

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

On black

5.73
#AF60EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60EE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60EE#FFFFFF#000000##000000
##AF60EE1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E83F3
Deuteranopia (green-blind)
#4786EB
Tritanopia (blue-blind)
#A57C9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af60ee;
/* rgb */ color: rgb(175, 96, 238);
/* oklch */ color: oklch(64.3% 0.210 307.1);
Tailwind
colors: {
  custom: {
    50: '#cb91f4',
    500: '#af60ee',
    950: '#000000',
  },
}
SCSS
$custom: #af60ee;
$custom-light: #cb91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af60ee",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 238
  },
  "hsl": {
    "h": 273.38,
    "s": 80.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6428,
    "c": 0.21008,
    "h": 307.1
  },
  "luminance": 0.23653
}

Semantic roles & 50–950 ramp

primary
#AF60EE
secondary
#D2EDBD
accent
#DD0867
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF60EE

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

Preview Lab → · Contrast checker → · Palette generator →

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