#AF60FA#AF60FA

#AF60FA is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.0% C 0.223 H 304.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF60FA
RGBrgb(175, 96, 250)
HSLhsl(271, 94%, 68%)
HSVhsv(271, 62%, 98%)
CMYKcmyk(30%, 61.6%, 0%, 2%)
CIE-LABlab(56.47, 59.54, -64.86)
CIE-LCHlch(56.47, 88.05, 312.55°)
OKLaboklab(65.04% 0.1264 -0.1837)
OKLCHoklch(65.04% 0.223 304.5)
XYZxyz(39.1135, 24.3820, 93.0696)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60FA #ABFA60
analogous
#6260FA #AF60FA #FA60F8
triadic
#AF60FA #FAAF60 #60FAAF
tetradic
#AF60FA #FA6260 #ABFA60 #60F8FA
square
#AF60FA #FA6260 #ABFA60 #60F8FA
split-complementary
#AF60FA #F8FA60 #60FA62
monochromatic
#7307D9 #9125F8 #AF60FA #CD9BFC #EBD7FE

Accessibility & contrast

On white

3.57
#AF60FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AF60FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60FA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60FA#FFFFFF#000000##000000
##AF60FA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#3887F7
Tritanopia (blue-blind)
#A180A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af60fa;
/* rgb */ color: rgb(175, 96, 250);
/* oklch */ color: oklch(65.0% 0.223 304.5);
Tailwind
colors: {
  custom: {
    50: '#cb91fd',
    500: '#af60fa',
    950: '#000000',
  },
}
SCSS
$custom: #af60fa;
$custom-light: #cb91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af60fa",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 250
  },
  "hsl": {
    "h": 270.779,
    "s": 93.902,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65043,
    "c": 0.22295,
    "h": 304.5
  },
  "luminance": 0.24382
}

Semantic roles & 50–950 ramp

primary
#AF60FA
secondary
#DAF3C3
accent
#E60070
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF60FA

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

Preview Lab → · Contrast checker → · Palette generator →

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