#AF60F3#AF60F3

#AF60F3 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.6% C 0.215 H 306.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AF60F3
RGBrgb(175, 96, 243)
HSLhsl(272, 86%, 66%)
HSVhsv(272, 60%, 95%)
CMYKcmyk(28%, 60.5%, 0%, 4.7%)
CIE-LABlab(56.04, 57.95, -61.66)
CIE-LCHlch(56.04, 84.62, 313.22°)
OKLaboklab(64.59% 0.1266 -0.1743)
OKLCHoklch(64.59% 0.215 306)
XYZxyz(38.0363, 23.9511, 87.3959)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60F3 #A4F360
analogous
#6660F3 #AF60F3 #F360EE
triadic
#AF60F3 #F3AF60 #60F3AF
tetradic
#AF60F3 #F36660 #A4F360 #60EEF3
square
#AF60F3 #F36660 #A4F360 #60EEF3
split-complementary
#AF60F3 #EEF360 #60F366
monochromatic
#730FC9 #9227EF #AF60F3 #CC99F7 #E8D2FC

Accessibility & contrast

On white

3.63
#AF60F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#AF60F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60F3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60F3#FFFFFF#000000##000000
##AF60F31.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F84F8
Deuteranopia (green-blind)
#4287F0
Tritanopia (blue-blind)
#A47EA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af60f3;
/* rgb */ color: rgb(175, 96, 243);
/* oklch */ color: oklch(64.6% 0.215 306.0);
Tailwind
colors: {
  custom: {
    50: '#cb91f8',
    500: '#af60f3',
    950: '#000000',
  },
}
SCSS
$custom: #af60f3;
$custom-light: #cb91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af60f3",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 243
  },
  "hsl": {
    "h": 272.245,
    "s": 85.965,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64594,
    "c": 0.21546,
    "h": 306
  },
  "luminance": 0.23951
}

Semantic roles & 50–950 ramp

primary
#AF60F3
secondary
#D6EFC0
accent
#E2036A
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF60F3

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

Preview Lab → · Contrast checker → · Palette generator →

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