#AF60F4#AF60F4

#AF60F4 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.7% C 0.217 H 305.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF60F4
RGBrgb(175, 96, 244)
HSLhsl(272, 87%, 67%)
HSVhsv(272, 61%, 96%)
CMYKcmyk(28.3%, 60.7%, 0%, 4.3%)
CIE-LABlab(56.10, 58.17, -62.12)
CIE-LCHlch(56.10, 85.11, 313.12°)
OKLaboklab(64.66% 0.1266 -0.1756)
OKLCHoklch(64.66% 0.217 305.8)
XYZxyz(38.1877, 24.0117, 88.1933)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60F4 #A5F460
analogous
#6560F4 #AF60F4 #F460EF
triadic
#AF60F4 #F4AF60 #60F4AF
tetradic
#AF60F4 #F46560 #A5F460 #60EFF4
square
#AF60F4 #F46560 #A5F460 #60EFF4
split-complementary
#AF60F4 #EFF460 #60F465
monochromatic
#730ECC #9227F0 #AF60F4 #CC99F8 #E9D2FC

Accessibility & contrast

On white

3.62
#AF60F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AF60F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60F4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60F4#FFFFFF#000000##000000
##AF60F41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A84F9
Deuteranopia (green-blind)
#4087F1
Tritanopia (blue-blind)
#A37EA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af60f4;
/* rgb */ color: rgb(175, 96, 244);
/* oklch */ color: oklch(64.7% 0.217 305.8);
Tailwind
colors: {
  custom: {
    50: '#cb91f8',
    500: '#af60f4',
    950: '#000000',
  },
}
SCSS
$custom: #af60f4;
$custom-light: #cb91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af60f4",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 244
  },
  "hsl": {
    "h": 272.027,
    "s": 87.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64657,
    "c": 0.21652,
    "h": 305.8
  },
  "luminance": 0.24011
}

Semantic roles & 50–950 ramp

primary
#AF60F4
secondary
#D6F0C0
accent
#E4026B
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF60F4

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

Preview Lab → · Contrast checker → · Palette generator →

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