#AF67DC#AF67DC

#AF67DC is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.2% C 0.180 H 310.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF67DC
RGBrgb(175, 103, 220)
HSLhsl(277, 63%, 63%)
HSVhsv(277, 53%, 86%)
CMYKcmyk(20.5%, 53.2%, 0%, 13.7%)
CIE-LABlab(56.07, 49.25, -48.73)
CIE-LCHlch(56.07, 69.28, 315.30°)
OKLaboklab(64.2% 0.1175 -0.1365)
OKLCHoklch(64.2% 0.18 310.7)
XYZxyz(35.4453, 23.9825, 70.4581)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67DC #94DC67
analogous
#7467DC #AF67DC #DC67CE
triadic
#AF67DC #DCAF67 #67DCAF
tetradic
#AF67DC #DC7467 #94DC67 #67CEDC
square
#AF67DC #DC7467 #94DC67 #67CEDC
split-complementary
#AF67DC #CEDC67 #67DC74
monochromatic
#7326A3 #9535D1 #AF67DC #C999E7 #E3CAF3

Accessibility & contrast

On white

3.62
#AF67DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AF67DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67DC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67DC#FFFFFF#000000##000000
##AF67DC1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E0
Deuteranopia (green-blind)
#5E88D9
Tritanopia (blue-blind)
#AA7B98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af67dc;
/* rgb */ color: rgb(175, 103, 220);
/* oklch */ color: oklch(64.2% 0.180 310.7);
Tailwind
colors: {
  custom: {
    50: '#c995e7',
    500: '#af67dc',
    950: '#000000',
  },
}
SCSS
$custom: #af67dc;
$custom-light: #c995e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af67dc",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 220
  },
  "hsl": {
    "h": 276.923,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64196,
    "c": 0.18007,
    "h": 310.7
  },
  "luminance": 0.23982
}

Semantic roles & 50–950 ramp

primary
#AF67DC
secondary
#CBE4BB
accent
#CA1B5F
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF67DC

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

Preview Lab → · Contrast checker → · Palette generator →

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