#AF69DC#AF69DC

#AF69DC is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.5% C 0.177 H 310.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF69DC
RGBrgb(175, 105, 220)
HSLhsl(277, 62%, 64%)
HSVhsv(277, 52%, 86%)
CMYKcmyk(20.5%, 52.3%, 0%, 13.7%)
CIE-LABlab(56.47, 48.20, -48.09)
CIE-LCHlch(56.47, 68.09, 315.06°)
OKLaboklab(64.49% 0.1148 -0.1346)
OKLCHoklch(64.49% 0.177 310.5)
XYZxyz(35.6466, 24.3851, 70.5252)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF69DC #96DC69
analogous
#7569DC #AF69DC #DC69CF
triadic
#AF69DC #DCAF69 #69DCAF
tetradic
#AF69DC #DC7569 #96DC69 #69CFDC
square
#AF69DC #DC7569 #96DC69 #69CFDC
split-complementary
#AF69DC #CFDC69 #69DC75
monochromatic
#7326A4 #9537D0 #AF69DC #C99BE8 #E4CCF3

Accessibility & contrast

On white

3.57
#AF69DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AF69DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF69DC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF69DC#FFFFFF#000000##000000
##AF69DC1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#AA7D99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af69dc;
/* rgb */ color: rgb(175, 105, 220);
/* oklch */ color: oklch(64.5% 0.177 310.5);
Tailwind
colors: {
  custom: {
    50: '#c996e7',
    500: '#af69dc',
    950: '#000000',
  },
}
SCSS
$custom: #af69dc;
$custom-light: #c996e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af69dc",
  "rgb": {
    "r": 175,
    "g": 105,
    "b": 220
  },
  "hsl": {
    "h": 276.522,
    "s": 62.162,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64492,
    "c": 0.17695,
    "h": 310.5
  },
  "luminance": 0.24384
}

Semantic roles & 50–950 ramp

primary
#AF69DC
secondary
#CCE5BC
accent
#CA1C60
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF69DC

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

Preview Lab → · Contrast checker → · Palette generator →

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