#AF60F1#AF60F1

#AF60F1 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.5% C 0.213 H 306.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF60F1
RGBrgb(175, 96, 241)
HSLhsl(273, 84%, 66%)
HSVhsv(273, 60%, 95%)
CMYKcmyk(27.4%, 60.2%, 0%, 5.5%)
CIE-LABlab(55.92, 57.50, -60.74)
CIE-LCHlch(55.92, 83.64, 313.43°)
OKLaboklab(64.47% 0.1267 -0.1716)
OKLCHoklch(64.47% 0.213 306.4)
XYZxyz(37.7359, 23.8309, 85.8139)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60F1 #A2F160
analogous
#6660F1 #AF60F1 #F160EA
triadic
#AF60F1 #F1AF60 #60F1AF
tetradic
#AF60F1 #F16660 #A2F160 #60EAF1
square
#AF60F1 #F16660 #A2F160 #60EAF1
split-complementary
#AF60F1 #EAF160 #60F166
monochromatic
#7311C5 #9328EC #AF60F1 #CB98F6 #E8D0FB

Accessibility & contrast

On white

3.64
#AF60F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AF60F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60F1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60F1#FFFFFF#000000##000000
##AF60F11.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1683F6
Deuteranopia (green-blind)
#4487EE
Tritanopia (blue-blind)
#A47DA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af60f1;
/* rgb */ color: rgb(175, 96, 241);
/* oklch */ color: oklch(64.5% 0.213 306.4);
Tailwind
colors: {
  custom: {
    50: '#cb91f6',
    500: '#af60f1',
    950: '#000000',
  },
}
SCSS
$custom: #af60f1;
$custom-light: #cb91f6;
$custom-dark: #000000;
JSON
{
  "hex": "#af60f1",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 241
  },
  "hsl": {
    "h": 272.69,
    "s": 83.815,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64468,
    "c": 0.21331,
    "h": 306.4
  },
  "luminance": 0.23831
}

Semantic roles & 50–950 ramp

primary
#AF60F1
secondary
#D4EEBF
accent
#E00569
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF60F1

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

Preview Lab → · Contrast checker → · Palette generator →

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