#AF68F9#AF68F9

#AF68F9 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.1% C 0.211 H 303.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AF68F9
RGBrgb(175, 104, 249)
HSLhsl(269, 92%, 69%)
HSVhsv(269, 58%, 98%)
CMYKcmyk(29.7%, 58.2%, 0%, 2.4%)
CIE-LABlab(57.90, 55.30, -62.01)
CIE-LCHlch(57.90, 83.09, 311.73°)
OKLaboklab(66.06% 0.1171 -0.1753)
OKLCHoklch(66.06% 0.211 303.7)
XYZxyz(39.7246, 25.8542, 92.5017)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68F9 #B2F968
analogous
#686AF9 #AF68F9 #F768F9
triadic
#AF68F9 #F9AF68 #68F9AF
tetradic
#AF68F9 #F9686A #B2F968 #68F9F7
square
#AF68F9 #F9686A #B2F968 #68F9F7
split-complementary
#AF68F9 #F9F768 #6AF968
monochromatic
#7109DE #902DF7 #AF68F9 #CEA3FB #EDDEFE

Accessibility & contrast

On white

3.40
#AF68F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AF68F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68F9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68F9#FFFFFF#000000##000000
##AF68F91.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2389FE
Deuteranopia (green-blind)
#468BF6
Tritanopia (blue-blind)
#A185A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af68f9;
/* rgb */ color: rgb(175, 104, 249);
/* oklch */ color: oklch(66.1% 0.211 303.7);
Tailwind
colors: {
  custom: {
    50: '#cb96fc',
    500: '#af68f9',
    950: '#000000',
  },
}
SCSS
$custom: #af68f9;
$custom-light: #cb96fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af68f9",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 249
  },
  "hsl": {
    "h": 269.379,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66064,
    "c": 0.21084,
    "h": 303.7
  },
  "luminance": 0.25854
}

Semantic roles & 50–950 ramp

primary
#AF68F9
secondary
#DFF3C9
accent
#E60075
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF68F9

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

Preview Lab → · Contrast checker → · Palette generator →

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