#AF6DF4#AF6DF4

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

Color values

HEX#AF6DF4
RGBrgb(175, 109, 244)
HSLhsl(269, 86%, 69%)
HSVhsv(269, 55%, 96%)
CMYKcmyk(28.3%, 55.3%, 0%, 4.3%)
CIE-LABlab(58.59, 51.55, -58.14)
CIE-LCHlch(58.59, 77.70, 311.56°)
OKLaboklab(66.47% 0.111 -0.164)
OKLCHoklch(66.47% 0.198 304.1)
XYZxyz(39.4734, 26.5830, 88.6219)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DF4 #B2F46D
analogous
#6D6FF4 #AF6DF4 #F26DF4
triadic
#AF6DF4 #F4AF6D #6DF4AF
tetradic
#AF6DF4 #F46D6F #B2F46D #6DF4F2
square
#AF6DF4 #F46D6F #B2F46D #6DF4F2
split-complementary
#AF6DF4 #F4F26D #6FF46D
monochromatic
#7110D6 #9034F0 #AF6DF4 #CEA6F8 #EDDFFD

Accessibility & contrast

On white

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

On black

6.32
#AF6DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DF4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DF4#FFFFFF#000000##000000
##AF6DF41.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF8
Deuteranopia (green-blind)
#518DF1
Tritanopia (blue-blind)
#A387A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6df4;
/* rgb */ color: rgb(175, 109, 244);
/* oklch */ color: oklch(66.5% 0.198 304.1);
Tailwind
colors: {
  custom: {
    50: '#ca99f8',
    500: '#af6df4',
    950: '#000000',
  },
}
SCSS
$custom: #af6df4;
$custom-light: #ca99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af6df4",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 244
  },
  "hsl": {
    "h": 269.333,
    "s": 85.987,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66474,
    "c": 0.19802,
    "h": 304.1
  },
  "luminance": 0.26583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF6DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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