#AF68DD#AF68DD

#AF68DD is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.4% C 0.180 H 310.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF68DD
RGBrgb(175, 104, 221)
HSLhsl(276, 63%, 64%)
HSVhsv(276, 53%, 87%)
CMYKcmyk(20.8%, 52.9%, 0%, 13.3%)
CIE-LABlab(56.32, 48.95, -48.89)
CIE-LCHlch(56.32, 69.18, 315.03°)
OKLaboklab(64.4% 0.1162 -0.1369)
OKLCHoklch(64.4% 0.18 310.3)
XYZxyz(35.6782, 24.2357, 71.1910)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68DD #96DD68
analogous
#7468DD #AF68DD #DD68D0
triadic
#AF68DD #DDAF68 #68DDAF
tetradic
#AF68DD #DD7468 #96DD68 #68D0DD
square
#AF68DD #DD7468 #96DD68 #68D0DD
split-complementary
#AF68DD #D0DD68 #68DD74
monochromatic
#7325A5 #9536D2 #AF68DD #C99AE8 #E4CCF3

Accessibility & contrast

On white

3.59
#AF68DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AF68DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68DD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68DD#FFFFFF#000000##000000
##AF68DD1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4784E1
Deuteranopia (green-blind)
#5E88DA
Tritanopia (blue-blind)
#A97C99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af68dd;
/* rgb */ color: rgb(175, 104, 221);
/* oklch */ color: oklch(64.4% 0.180 310.3);
Tailwind
colors: {
  custom: {
    50: '#c995e8',
    500: '#af68dd',
    950: '#000000',
  },
}
SCSS
$custom: #af68dd;
$custom-light: #c995e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af68dd",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 276.41,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.644,
    "c": 0.17962,
    "h": 310.3
  },
  "luminance": 0.24235
}

Semantic roles & 50–950 ramp

primary
#AF68DD
secondary
#CCE5BC
accent
#CB1A60
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF68DD

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

Preview Lab → · Contrast checker → · Palette generator →

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