#AF68D5#AF68D5

#AF68D5 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.0% C 0.171 H 312.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AF68D5
RGBrgb(175, 104, 213)
HSLhsl(279, 56%, 62%)
HSVhsv(279, 51%, 84%)
CMYKcmyk(17.8%, 51.2%, 0%, 16.5%)
CIE-LABlab(55.91, 47.20, -45.04)
CIE-LCHlch(55.91, 65.24, 316.34°)
OKLaboklab(63.96% 0.1155 -0.1257)
OKLCHoklch(63.96% 0.171 312.6)
XYZxyz(34.6377, 23.8195, 65.7108)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68D5 #8ED568
analogous
#7968D5 #AF68D5 #D568C4
triadic
#AF68D5 #D5AF68 #68D5AF
tetradic
#AF68D5 #D57968 #8ED568 #68C4D5
square
#AF68D5 #D57968 #8ED568 #68C4D5
split-complementary
#AF68D5 #C4D568 #68D579
monochromatic
#722A98 #9638C8 #AF68D5 #C898E2 #E2C8F0

Accessibility & contrast

On white

3.64
#AF68D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#AF68D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68D5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68D5#FFFFFF#000000##000000
##AF68D51.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D9
Deuteranopia (green-blind)
#6388D2
Tritanopia (blue-blind)
#AB7A95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af68d5;
/* rgb */ color: rgb(175, 104, 213);
/* oklch */ color: oklch(64.0% 0.171 312.6);
Tailwind
colors: {
  custom: {
    50: '#c995e2',
    500: '#af68d5',
    950: '#000000',
  },
}
SCSS
$custom: #af68d5;
$custom-light: #c995e2;
$custom-dark: #000000;
JSON
{
  "hex": "#af68d5",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 213
  },
  "hsl": {
    "h": 279.083,
    "s": 56.477,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63957,
    "c": 0.17075,
    "h": 312.6
  },
  "luminance": 0.23819
}

Semantic roles & 50–950 ramp

primary
#AF68D5
secondary
#C6E0B8
accent
#C4215A
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF68D5

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

Preview Lab → · Contrast checker → · Palette generator →

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