#AF65FA#AF65FA

#AF65FA is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.7% C 0.216 H 303.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AF65FA
RGBrgb(175, 101, 250)
HSLhsl(270, 94%, 69%)
HSVhsv(270, 60%, 98%)
CMYKcmyk(30%, 59.6%, 0%, 2%)
CIE-LABlab(57.39, 57.06, -63.38)
CIE-LCHlch(57.39, 85.28, 312.00°)
OKLaboklab(65.71% 0.1206 -0.1794)
OKLCHoklch(65.71% 0.216 303.9)
XYZxyz(39.5843, 25.3236, 93.2265)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65FA #B0FA65
analogous
#6566FA #AF65FA #FA65FA
triadic
#AF65FA #FAAF65 #65FAAF
tetradic
#AF65FA #FA6566 #B0FA65 #65FAFA
square
#AF65FA #FA6566 #B0FA65 #65FAFA
split-complementary
#AF65FA #FAFA65 #66FA65
monochromatic
#7207DD #902AF8 #AF65FA #CEA0FC #EDDCFE

Accessibility & contrast

On white

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

On black

6.06
#AF65FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65FA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65FA#FFFFFF#000000##000000
##AF65FA1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1388FF
Deuteranopia (green-blind)
#408AF7
Tritanopia (blue-blind)
#A183A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af65fa;
/* rgb */ color: rgb(175, 101, 250);
/* oklch */ color: oklch(65.7% 0.216 303.9);
Tailwind
colors: {
  custom: {
    50: '#cb94fd',
    500: '#af65fa',
    950: '#000000',
  },
}
SCSS
$custom: #af65fa;
$custom-light: #cb94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af65fa",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 250
  },
  "hsl": {
    "h": 269.799,
    "s": 93.711,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65712,
    "c": 0.21614,
    "h": 303.9
  },
  "luminance": 0.25323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF65FA

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

Preview Lab → · Contrast checker → · Palette generator →

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