#AF60FB#AF60FB

#AF60FB is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.1% C 0.224 H 304.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF60FB
RGBrgb(175, 96, 251)
HSLhsl(271, 95%, 68%)
HSVhsv(271, 62%, 98%)
CMYKcmyk(30.3%, 61.8%, 0%, 1.6%)
CIE-LABlab(56.53, 59.77, -65.32)
CIE-LCHlch(56.53, 88.54, 312.46°)
OKLaboklab(65.11% 0.1263 -0.185)
OKLCHoklch(65.11% 0.224 304.3)
XYZxyz(39.2708, 24.4449, 93.8976)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60FB #ACFB60
analogous
#6160FB #AF60FB #FB60F9
triadic
#AF60FB #FBAF60 #60FBAF
tetradic
#AF60FB #FB6160 #ACFB60 #60F9FB
square
#AF60FB #FB6160 #ACFB60 #60F9FB
split-complementary
#AF60FB #F9FB60 #60FB61
monochromatic
#7206DB #9124F9 #AF60FB #CD9CFD #EBD7FE

Accessibility & contrast

On white

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

On black

5.89
#AF60FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60FB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60FB#FFFFFF#000000##000000
##AF60FB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3788F8
Tritanopia (blue-blind)
#A180A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af60fb;
/* rgb */ color: rgb(175, 96, 251);
/* oklch */ color: oklch(65.1% 0.224 304.3);
Tailwind
colors: {
  custom: {
    50: '#cb91fd',
    500: '#af60fb',
    950: '#000000',
  },
}
SCSS
$custom: #af60fb;
$custom-light: #cb91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af60fb",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 251
  },
  "hsl": {
    "h": 270.581,
    "s": 95.092,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65108,
    "c": 0.22403,
    "h": 304.3
  },
  "luminance": 0.24445
}

Semantic roles & 50–950 ramp

primary
#AF60FB
secondary
#DBF3C4
accent
#E60071
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #AF60FB

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

Preview Lab → · Contrast checker → · Palette generator →

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