#AF66F7#AF66F7

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

Color values

HEX#AF66F7
RGBrgb(175, 102, 247)
HSLhsl(270, 90%, 68%)
HSVhsv(270, 59%, 97%)
CMYKcmyk(29.1%, 58.7%, 0%, 3.1%)
CIE-LABlab(57.40, 55.86, -61.70)
CIE-LCHlch(57.40, 83.23, 312.15°)
OKLaboklab(65.66% 0.1195 -0.1744)
OKLCHoklch(65.66% 0.211 304.4)
XYZxyz(39.2154, 25.3323, 90.8013)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66F7 #AEF766
analogous
#6666F7 #AF66F7 #F766F6
triadic
#AF66F7 #F7AF66 #66F7AF
tetradic
#AF66F7 #F76666 #AEF766 #66F6F7
square
#AF66F7 #F76666 #AEF766 #66F6F7
split-complementary
#AF66F7 #F6F766 #66F766
monochromatic
#720BD7 #912CF4 #AF66F7 #CDA0FA #ECDAFD

Accessibility & contrast

On white

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

On black

6.07
#AF66F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66F7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66F7#FFFFFF#000000##000000
##AF66F71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2088FC
Deuteranopia (green-blind)
#458AF4
Tritanopia (blue-blind)
#A283A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af66f7;
/* rgb */ color: rgb(175, 102, 247);
/* oklch */ color: oklch(65.7% 0.211 304.4);
Tailwind
colors: {
  custom: {
    50: '#cb95fb',
    500: '#af66f7',
    950: '#000000',
  },
}
SCSS
$custom: #af66f7;
$custom-light: #cb95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af66f7",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 270.207,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6566,
    "c": 0.21144,
    "h": 304.4
  },
  "luminance": 0.25332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF66F7

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

Preview Lab → · Contrast checker → · Palette generator →

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