#AF65F8#AF65F8

#AF65F8 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.214 H 304.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF65F8
RGBrgb(175, 101, 248)
HSLhsl(270, 91%, 68%)
HSVhsv(270, 59%, 97%)
CMYKcmyk(29.4%, 59.3%, 0%, 2.7%)
CIE-LABlab(57.27, 56.60, -62.47)
CIE-LCHlch(57.27, 84.29, 312.18°)
OKLaboklab(65.59% 0.1207 -0.1767)
OKLCHoklch(65.59% 0.214 304.3)
XYZxyz(39.2724, 25.1988, 91.5836)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65F8 #AEF865
analogous
#6565F8 #AF65F8 #F865F7
triadic
#AF65F8 #F8AF65 #65F8AF
tetradic
#AF65F8 #F86565 #AEF865 #65F7F8
square
#AF65F8 #F86565 #AEF865 #65F7F8
split-complementary
#AF65F8 #F7F865 #65F865
monochromatic
#720AD9 #912AF5 #AF65F8 #CDA0FB #ECDAFD

Accessibility & contrast

On white

3.48
#AF65F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AF65F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65F8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65F8#FFFFFF#000000##000000
##AF65F81.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1988FD
Deuteranopia (green-blind)
#4389F5
Tritanopia (blue-blind)
#A283A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af65f8;
/* rgb */ color: rgb(175, 101, 248);
/* oklch */ color: oklch(65.6% 0.214 304.3);
Tailwind
colors: {
  custom: {
    50: '#cb94fb',
    500: '#af65f8',
    950: '#000000',
  },
}
SCSS
$custom: #af65f8;
$custom-light: #cb94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af65f8",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 248
  },
  "hsl": {
    "h": 270.204,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65585,
    "c": 0.21394,
    "h": 304.3
  },
  "luminance": 0.25199
}

Semantic roles & 50–950 ramp

primary
#AF65F8
secondary
#DCF3C6
accent
#E60072
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF65F8

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

Preview Lab → · Contrast checker → · Palette generator →

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