#AF68DA#AF68DA

#AF68DA is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.2% C 0.176 H 311.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF68DA
RGBrgb(175, 104, 218)
HSLhsl(277, 61%, 63%)
HSVhsv(277, 52%, 85%)
CMYKcmyk(19.7%, 52.3%, 0%, 14.5%)
CIE-LABlab(56.17, 48.29, -47.45)
CIE-LCHlch(56.17, 67.70, 315.50°)
OKLaboklab(64.23% 0.116 -0.1327)
OKLCHoklch(64.23% 0.176 311.1)
XYZxyz(35.2821, 24.0773, 69.1048)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68DA #93DA68
analogous
#7668DA #AF68DA #DA68CC
triadic
#AF68DA #DAAF68 #68DAAF
tetradic
#AF68DA #DA7668 #93DA68 #68CCDA
square
#AF68DA #DA7668 #93DA68 #68CCDA
split-complementary
#AF68DA #CCDA68 #68DA76
monochromatic
#7327A0 #9537CE #AF68DA #C999E6 #E3CAF2

Accessibility & contrast

On white

3.61
#AF68DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#AF68DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68DA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68DA#FFFFFF#000000##000000
##AF68DA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DE
Deuteranopia (green-blind)
#6088D7
Tritanopia (blue-blind)
#AA7B97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af68da;
/* rgb */ color: rgb(175, 104, 218);
/* oklch */ color: oklch(64.2% 0.176 311.1);
Tailwind
colors: {
  custom: {
    50: '#c995e6',
    500: '#af68da',
    950: '#000000',
  },
}
SCSS
$custom: #af68da;
$custom-light: #c995e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af68da",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 218
  },
  "hsl": {
    "h": 277.368,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64232,
    "c": 0.17628,
    "h": 311.1
  },
  "luminance": 0.24077
}

Semantic roles & 50–950 ramp

primary
#AF68DA
secondary
#CAE3BA
accent
#C81D5E
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF68DA

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

Preview Lab → · Contrast checker → · Palette generator →

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