#AF68DF#AF68DF

#AF68DF is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.5% C 0.182 H 309.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF68DF
RGBrgb(175, 104, 223)
HSLhsl(276, 65%, 64%)
HSVhsv(276, 53%, 87%)
CMYKcmyk(21.5%, 53.4%, 0%, 12.5%)
CIE-LABlab(56.43, 49.39, -49.85)
CIE-LCHlch(56.43, 70.17, 314.73°)
OKLaboklab(64.51% 0.1164 -0.1397)
OKLCHoklch(64.51% 0.182 309.8)
XYZxyz(35.9463, 24.3429, 72.6027)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68DF #98DF68
analogous
#7468DF #AF68DF #DF68D4
triadic
#AF68DF #DFAF68 #68DFAF
tetradic
#AF68DF #DF7468 #98DF68 #68D4DF
square
#AF68DF #DF7468 #98DF68 #68D4DF
split-complementary
#AF68DF #D4DF68 #68DF74
monochromatic
#7324A9 #9436D4 #AF68DF #CA9BEA #E5CDF4

Accessibility & contrast

On white

3.58
#AF68DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#AF68DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68DF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68DF#FFFFFF#000000##000000
##AF68DF1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E3
Deuteranopia (green-blind)
#5D88DC
Tritanopia (blue-blind)
#A97D9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af68df;
/* rgb */ color: rgb(175, 104, 223);
/* oklch */ color: oklch(64.5% 0.182 309.8);
Tailwind
colors: {
  custom: {
    50: '#c995e9',
    500: '#af68df',
    950: '#000000',
  },
}
SCSS
$custom: #af68df;
$custom-light: #c995e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af68df",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 275.798,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64513,
    "c": 0.18185,
    "h": 309.8
  },
  "luminance": 0.24342
}

Semantic roles & 50–950 ramp

primary
#AF68DF
secondary
#CDE6BD
accent
#CD1961
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF68DF

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

Preview Lab → · Contrast checker → · Palette generator →

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