#AF68FD#AF68FD

#AF68FD is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.3% C 0.215 H 302.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF68FD
RGBrgb(175, 104, 253)
HSLhsl(269, 97%, 70%)
HSVhsv(269, 59%, 99%)
CMYKcmyk(30.8%, 58.9%, 0%, 0.8%)
CIE-LABlab(58.14, 56.24, -63.84)
CIE-LCHlch(58.14, 85.08, 311.38°)
OKLaboklab(66.32% 0.117 -0.1807)
OKLCHoklch(66.32% 0.215 302.9)
XYZxyz(40.3551, 26.1064, 95.8225)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68FD #B6FD68
analogous
#686BFD #AF68FD #FA68FD
triadic
#AF68FD #FDAF68 #68FDAF
tetradic
#AF68FD #FD686B #B6FD68 #68FDFA
square
#AF68FD #FD686B #B6FD68 #68FDFA
split-complementary
#AF68FD #FDFA68 #6BFD68
monochromatic
#7003E8 #8F2CFC #AF68FD #CFA4FE #EFE1FF

Accessibility & contrast

On white

3.38
#AF68FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AF68FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68FD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68FD#FFFFFF#000000##000000
##AF68FD1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#198AFF
Deuteranopia (green-blind)
#418BFA
Tritanopia (blue-blind)
#A086A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af68fd;
/* rgb */ color: rgb(175, 104, 253);
/* oklch */ color: oklch(66.3% 0.215 302.9);
Tailwind
colors: {
  custom: {
    50: '#cb96ff',
    500: '#af68fd',
    950: '#000000',
  },
}
SCSS
$custom: #af68fd;
$custom-light: #cb96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af68fd",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 253
  },
  "hsl": {
    "h": 268.591,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.66315,
    "c": 0.2153,
    "h": 302.9
  },
  "luminance": 0.26106
}

Semantic roles & 50–950 ramp

primary
#AF68FD
secondary
#E1F5CC
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF68FD

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

Preview Lab → · Contrast checker → · Palette generator →

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