#AF6DF5#AF6DF5

#AF6DF5 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.5% C 0.199 H 303.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF6DF5
RGBrgb(175, 109, 245)
HSLhsl(269, 87%, 69%)
HSVhsv(269, 56%, 96%)
CMYKcmyk(28.6%, 55.5%, 0%, 3.9%)
CIE-LABlab(58.64, 51.78, -58.60)
CIE-LCHlch(58.64, 78.20, 311.47°)
OKLaboklab(66.54% 0.111 -0.1654)
OKLCHoklch(66.54% 0.199 303.9)
XYZxyz(39.6256, 26.6439, 89.4237)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DF5 #B3F56D
analogous
#6D6FF5 #AF6DF5 #F36DF5
triadic
#AF6DF5 #F5AF6D #6DF5AF
tetradic
#AF6DF5 #F56D6F #B3F56D #6DF5F3
square
#AF6DF5 #F56D6F #B3F56D #6DF5F3
split-complementary
#AF6DF5 #F5F36D #6FF56D
monochromatic
#710FD9 #9034F1 #AF6DF5 #CEA6F9 #EEE0FD

Accessibility & contrast

On white

3.32
#AF6DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AF6DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DF5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DF5#FFFFFF#000000##000000
##AF6DF51.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF9
Deuteranopia (green-blind)
#508DF2
Tritanopia (blue-blind)
#A287A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6df5;
/* rgb */ color: rgb(175, 109, 245);
/* oklch */ color: oklch(66.5% 0.199 303.9);
Tailwind
colors: {
  custom: {
    50: '#ca99f9',
    500: '#af6df5',
    950: '#000000',
  },
}
SCSS
$custom: #af6df5;
$custom-light: #ca99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#af6df5",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 269.118,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66535,
    "c": 0.19916,
    "h": 303.9
  },
  "luminance": 0.26644
}

Semantic roles & 50–950 ramp

primary
#AF6DF5
secondary
#DFF2CB
accent
#E40276
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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