#AF67D7#AF67D7

#AF67D7 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.9% C 0.175 H 312.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF67D7
RGBrgb(175, 103, 215)
HSLhsl(279, 58%, 62%)
HSVhsv(279, 52%, 84%)
CMYKcmyk(18.6%, 52.1%, 0%, 15.7%)
CIE-LABlab(55.81, 48.16, -46.32)
CIE-LCHlch(55.81, 66.82, 316.11°)
OKLaboklab(63.92% 0.1171 -0.1295)
OKLCHoklch(63.92% 0.175 312.1)
XYZxyz(34.7930, 23.7215, 67.0227)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67D7 #8FD767
analogous
#7767D7 #AF67D7 #D767C7
triadic
#AF67D7 #D7AF67 #67D7AF
tetradic
#AF67D7 #D77767 #8FD767 #67C7D7
square
#AF67D7 #D77767 #8FD767 #67C7D7
split-complementary
#AF67D7 #C7D767 #67D777
monochromatic
#72299B #9537CA #AF67D7 #C897E4 #E2C8F0

Accessibility & contrast

On white

3.66
#AF67D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AF67D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67D7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67D7#FFFFFF#000000##000000
##AF67D71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A82DB
Deuteranopia (green-blind)
#6187D4
Tritanopia (blue-blind)
#AB7A95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af67d7;
/* rgb */ color: rgb(175, 103, 215);
/* oklch */ color: oklch(63.9% 0.175 312.1);
Tailwind
colors: {
  custom: {
    50: '#c995e4',
    500: '#af67d7',
    950: '#000000',
  },
}
SCSS
$custom: #af67d7;
$custom-light: #c995e4;
$custom-dark: #000000;
JSON
{
  "hex": "#af67d7",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 215
  },
  "hsl": {
    "h": 278.571,
    "s": 58.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63917,
    "c": 0.17455,
    "h": 312.1
  },
  "luminance": 0.23721
}

Semantic roles & 50–950 ramp

primary
#AF67D7
secondary
#C7E1B8
accent
#C6205B
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #AF67D7

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

Preview Lab → · Contrast checker → · Palette generator →

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