#AF68CB#AF68CB

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

Color values

HEX#AF68CB
RGBrgb(175, 104, 203)
HSLhsl(283, 49%, 60%)
HSVhsv(283, 49%, 80%)
CMYKcmyk(13.8%, 48.8%, 0%, 20.4%)
CIE-LABlab(55.41, 45.07, -40.15)
CIE-LCHlch(55.41, 60.36, 318.31°)
OKLaboklab(63.43% 0.1144 -0.1115)
OKLCHoklch(63.43% 0.16 315.7)
XYZxyz(33.4074, 23.3274, 59.2312)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68CB #84CB68
analogous
#7D68CB #AF68CB #CB68B6
triadic
#AF68CB #CBAF68 #68CBAF
tetradic
#AF68CB #CB7D68 #84CB68 #68B6CB
square
#AF68CB #CB7D68 #84CB68 #68B6CB
split-complementary
#AF68CB #B6CB68 #68CB7D
monochromatic
#702F89 #953FB7 #AF68CB #C796DB #DFC3EA

Accessibility & contrast

On white

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

On black

5.67
#AF68CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68CB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68CB#FFFFFF#000000##000000
##AF68CB1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#6987C8
Tritanopia (blue-blind)
#AE7790
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af68cb;
/* rgb */ color: rgb(175, 104, 203);
/* oklch */ color: oklch(63.4% 0.160 315.7);
Tailwind
colors: {
  custom: {
    50: '#c995db',
    500: '#af68cb',
    950: '#000000',
  },
}
SCSS
$custom: #af68cb;
$custom-light: #c995db;
$custom-dark: #000000;
JSON
{
  "hex": "#af68cb",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 283.03,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63425,
    "c": 0.15977,
    "h": 315.7
  },
  "luminance": 0.23326
}

Semantic roles & 50–950 ramp

primary
#AF68CB
secondary
#BFDAB4
accent
#BC2953
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF68CB

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

Preview Lab → · Contrast checker → · Palette generator →

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