#AF60F5#AF60F5

#AF60F5 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.7% C 0.218 H 305.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF60F5
RGBrgb(175, 96, 245)
HSLhsl(272, 88%, 67%)
HSVhsv(272, 61%, 96%)
CMYKcmyk(28.6%, 60.8%, 0%, 3.9%)
CIE-LABlab(56.16, 58.40, -62.58)
CIE-LCHlch(56.16, 85.60, 313.02°)
OKLaboklab(64.72% 0.1266 -0.177)
OKLCHoklch(64.72% 0.218 305.6)
XYZxyz(38.3399, 24.0726, 88.9952)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60F5 #A6F560
analogous
#6560F5 #AF60F5 #F560F1
triadic
#AF60F5 #F5AF60 #60F5AF
tetradic
#AF60F5 #F56560 #A6F560 #60F1F5
square
#AF60F5 #F56560 #A6F560 #60F1F5
split-complementary
#AF60F5 #F1F560 #60F565
monochromatic
#730DCE #9226F1 #AF60F5 #CC9AF9 #E9D3FC

Accessibility & contrast

On white

3.61
#AF60F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#AF60F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60F5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60F5#FFFFFF#000000##000000
##AF60F51.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0484FA
Deuteranopia (green-blind)
#3F87F2
Tritanopia (blue-blind)
#A37EA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af60f5;
/* rgb */ color: rgb(175, 96, 245);
/* oklch */ color: oklch(64.7% 0.218 305.6);
Tailwind
colors: {
  custom: {
    50: '#cb91f9',
    500: '#af60f5',
    950: '#000000',
  },
}
SCSS
$custom: #af60f5;
$custom-light: #cb91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#af60f5",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 245
  },
  "hsl": {
    "h": 271.812,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64721,
    "c": 0.2176,
    "h": 305.6
  },
  "luminance": 0.24072
}

Semantic roles & 50–950 ramp

primary
#AF60F5
secondary
#D7F0C1
accent
#E5016C
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF60F5

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

Preview Lab → · Contrast checker → · Palette generator →

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