#AF65F7#AF65F7

#AF65F7 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.5% C 0.213 H 304.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AF65F7
RGBrgb(175, 101, 247)
HSLhsl(270, 90%, 68%)
HSVhsv(270, 59%, 97%)
CMYKcmyk(29.1%, 59.1%, 0%, 3.1%)
CIE-LABlab(57.21, 56.36, -62.01)
CIE-LCHlch(57.21, 83.80, 312.27°)
OKLaboklab(65.52% 0.1207 -0.1753)
OKLCHoklch(65.52% 0.213 304.5)
XYZxyz(39.1177, 25.1369, 90.7688)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65F7 #ADF765
analogous
#6665F7 #AF65F7 #F765F6
triadic
#AF65F7 #F7AF65 #65F7AF
tetradic
#AF65F7 #F76665 #ADF765 #65F6F7
square
#AF65F7 #F76665 #ADF765 #65F6F7
split-complementary
#AF65F7 #F6F765 #65F766
monochromatic
#720BD6 #912BF4 #AF65F7 #CD9FFA #EBD9FD

Accessibility & contrast

On white

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

On black

6.03
#AF65F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65F7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65F7#FFFFFF#000000##000000
##AF65F71.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C87FC
Deuteranopia (green-blind)
#4489F4
Tritanopia (blue-blind)
#A282A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af65f7;
/* rgb */ color: rgb(175, 101, 247);
/* oklch */ color: oklch(65.5% 0.213 304.5);
Tailwind
colors: {
  custom: {
    50: '#cb94fb',
    500: '#af65f7',
    950: '#000000',
  },
}
SCSS
$custom: #af65f7;
$custom-light: #cb94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af65f7",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 247
  },
  "hsl": {
    "h": 270.411,
    "s": 90.123,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65522,
    "c": 0.21284,
    "h": 304.5
  },
  "luminance": 0.25137
}

Semantic roles & 50–950 ramp

primary
#AF65F7
secondary
#DCF2C6
accent
#E60071
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF65F7

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

Preview Lab → · Contrast checker → · Palette generator →

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