#AF68CA#AF68CA

#AF68CA is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.4% C 0.159 H 316.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF68CA
RGBrgb(175, 104, 202)
HSLhsl(283, 48%, 60%)
HSVhsv(283, 49%, 79%)
CMYKcmyk(13.4%, 48.5%, 0%, 20.8%)
CIE-LABlab(55.36, 44.86, -39.65)
CIE-LCHlch(55.36, 59.87, 318.52°)
OKLaboklab(63.37% 0.1143 -0.1101)
OKLCHoklch(63.37% 0.159 316.1)
XYZxyz(33.2886, 23.2798, 58.6056)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68CA #83CA68
analogous
#7E68CA #AF68CA #CA68B4
triadic
#AF68CA #CAAF68 #68CAAF
tetradic
#AF68CA #CA7E68 #83CA68 #68B4CA
square
#AF68CA #CA7E68 #83CA68 #68B4CA
split-complementary
#AF68CA #B4CA68 #68CA7E
monochromatic
#703088 #9540B5 #AF68CA #C795DA #DFC3EA

Accessibility & contrast

On white

3.71
#AF68CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AF68CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68CA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68CA#FFFFFF#000000##000000
##AF68CA1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#6987C7
Tritanopia (blue-blind)
#AE7690
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af68ca;
/* rgb */ color: rgb(175, 104, 202);
/* oklch */ color: oklch(63.4% 0.159 316.1);
Tailwind
colors: {
  custom: {
    50: '#c995da',
    500: '#af68ca',
    950: '#000000',
  },
}
SCSS
$custom: #af68ca;
$custom-light: #c995da;
$custom-dark: #000000;
JSON
{
  "hex": "#af68ca",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 283.469,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.63373,
    "c": 0.15868,
    "h": 316.1
  },
  "luminance": 0.23279
}

Semantic roles & 50–950 ramp

primary
#AF68CA
secondary
#BEDAB4
accent
#D85075
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF68CA

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

Preview Lab → · Contrast checker → · Palette generator →

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