#AF65FB#AF65FB

#AF65FB is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.8% C 0.217 H 303.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AF65FB
RGBrgb(175, 101, 251)
HSLhsl(270, 95%, 69%)
HSVhsv(270, 60%, 98%)
CMYKcmyk(30.3%, 59.8%, 0%, 1.6%)
CIE-LABlab(57.45, 57.29, -63.84)
CIE-LCHlch(57.45, 85.77, 311.91°)
OKLaboklab(65.77% 0.1206 -0.1807)
OKLCHoklch(65.77% 0.217 303.7)
XYZxyz(39.7415, 25.3864, 94.0545)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65FB #B1FB65
analogous
#6566FB #AF65FB #FA65FB
triadic
#AF65FB #FBAF65 #65FBAF
tetradic
#AF65FB #FB6566 #B1FB65 #65FBFA
square
#AF65FB #FB6566 #B1FB65 #65FBFA
split-complementary
#AF65FB #FBFA65 #66FB65
monochromatic
#7106E0 #9029F9 #AF65FB #CEA1FD #EDDCFE

Accessibility & contrast

On white

3.46
#AF65FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AF65FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65FB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65FB#FFFFFF#000000##000000
##AF65FB1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F88FF
Deuteranopia (green-blind)
#3F8AF8
Tritanopia (blue-blind)
#A184A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af65fb;
/* rgb */ color: rgb(175, 101, 251);
/* oklch */ color: oklch(65.8% 0.217 303.7);
Tailwind
colors: {
  custom: {
    50: '#cb94fd',
    500: '#af65fb',
    950: '#000000',
  },
}
SCSS
$custom: #af65fb;
$custom-light: #cb94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af65fb",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 251
  },
  "hsl": {
    "h": 269.6,
    "s": 94.937,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65775,
    "c": 0.21724,
    "h": 303.7
  },
  "luminance": 0.25386
}

Semantic roles & 50–950 ramp

primary
#AF65FB
secondary
#DEF4C8
accent
#E60074
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF65FB

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

Preview Lab → · Contrast checker → · Palette generator →

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