#AF60F2#AF60F2

#AF60F2 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.5% C 0.214 H 306.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF60F2
RGBrgb(175, 96, 242)
HSLhsl(272, 85%, 66%)
HSVhsv(272, 60%, 95%)
CMYKcmyk(27.7%, 60.3%, 0%, 5.1%)
CIE-LABlab(55.98, 57.72, -61.20)
CIE-LCHlch(55.98, 84.13, 313.32°)
OKLaboklab(64.53% 0.1267 -0.173)
OKLCHoklch(64.53% 0.214 306.2)
XYZxyz(37.8857, 23.8909, 86.6027)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60F2 #A3F260
analogous
#6660F2 #AF60F2 #F260EC
triadic
#AF60F2 #F2AF60 #60F2AF
tetradic
#AF60F2 #F26660 #A3F260 #60ECF2
square
#AF60F2 #F26660 #A3F260 #60ECF2
split-complementary
#AF60F2 #ECF260 #60F266
monochromatic
#7310C7 #9327ED #AF60F2 #CB99F7 #E8D1FB

Accessibility & contrast

On white

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

On black

5.78
#AF60F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60F2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60F2#FFFFFF#000000##000000
##AF60F21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1384F7
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#A47DA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af60f2;
/* rgb */ color: rgb(175, 96, 242);
/* oklch */ color: oklch(64.5% 0.214 306.2);
Tailwind
colors: {
  custom: {
    50: '#cb91f7',
    500: '#af60f2',
    950: '#000000',
  },
}
SCSS
$custom: #af60f2;
$custom-light: #cb91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#af60f2",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 272.466,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64531,
    "c": 0.21438,
    "h": 306.2
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

primary
#AF60F2
secondary
#D5EFBF
accent
#E1046A
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF60F2

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

Preview Lab → · Contrast checker → · Palette generator →

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