#AF6DF6#AF6DF6

#AF6DF6 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.6% C 0.200 H 303.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AF6DF6
RGBrgb(175, 109, 246)
HSLhsl(269, 88%, 70%)
HSVhsv(269, 56%, 96%)
CMYKcmyk(28.9%, 55.7%, 0%, 3.5%)
CIE-LABlab(58.70, 52.02, -59.06)
CIE-LCHlch(58.70, 78.70, 311.37°)
OKLaboklab(66.6% 0.111 -0.1667)
OKLCHoklch(66.6% 0.2 303.7)
XYZxyz(39.7787, 26.7051, 90.2299)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DF6 #B4F66D
analogous
#6D70F6 #AF6DF6 #F36DF6
triadic
#AF6DF6 #F6AF6D #6DF6AF
tetradic
#AF6DF6 #F66D70 #B4F66D #6DF6F3
square
#AF6DF6 #F66D70 #B4F66D #6DF6F3
split-complementary
#AF6DF6 #F6F36D #70F66D
monochromatic
#710EDB #8F33F2 #AF6DF6 #CFA7FA #EEE0FD

Accessibility & contrast

On white

3.31
#AF6DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AF6DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DF6
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DF6#FFFFFF#000000##000000
##AF6DF61.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFB
Deuteranopia (green-blind)
#4F8DF3
Tritanopia (blue-blind)
#A288A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6df6;
/* rgb */ color: rgb(175, 109, 246);
/* oklch */ color: oklch(66.6% 0.200 303.7);
Tailwind
colors: {
  custom: {
    50: '#ca99fa',
    500: '#af6df6',
    950: '#000000',
  },
}
SCSS
$custom: #af6df6;
$custom-light: #ca99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#af6df6",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 268.905,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66595,
    "c": 0.20029,
    "h": 303.7
  },
  "luminance": 0.26705
}

Semantic roles & 50–950 ramp

primary
#AF6DF6
secondary
#E0F3CC
accent
#E50177
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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