#AF6BF6#AF6BF6

#AF6BF6 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.3% C 0.203 H 303.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF6BF6
RGBrgb(175, 107, 246)
HSLhsl(269, 89%, 69%)
HSVhsv(269, 57%, 96%)
CMYKcmyk(28.9%, 56.5%, 0%, 3.5%)
CIE-LABlab(58.30, 53.06, -59.70)
CIE-LCHlch(58.30, 79.87, 311.63°)
OKLaboklab(66.31% 0.1135 -0.1686)
OKLCHoklch(66.31% 0.203 303.9)
XYZxyz(39.5678, 26.2833, 90.1596)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6BF6 #B2F66B
analogous
#6B6DF6 #AF6BF6 #F56BF6
triadic
#AF6BF6 #F6AF6B #6BF6AF
tetradic
#AF6BF6 #F66B6D #B2F66B #6BF6F5
square
#AF6BF6 #F66B6D #B2F66B #6BF6F5
split-complementary
#AF6BF6 #F6F56B #6DF66B
monochromatic
#710DD9 #9031F2 #AF6BF6 #CEA5FA #EDDEFD

Accessibility & contrast

On white

3.36
#AF6BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#AF6BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6BF6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6BF6#FFFFFF#000000##000000
##AF6BF61.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#318AFB
Deuteranopia (green-blind)
#4D8CF3
Tritanopia (blue-blind)
#A286A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af6bf6;
/* rgb */ color: rgb(175, 107, 246);
/* oklch */ color: oklch(66.3% 0.203 303.9);
Tailwind
colors: {
  custom: {
    50: '#cb98fa',
    500: '#af6bf6',
    950: '#000000',
  },
}
SCSS
$custom: #af6bf6;
$custom-light: #cb98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#af6bf6",
  "rgb": {
    "r": 175,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 269.353,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66305,
    "c": 0.2032,
    "h": 303.9
  },
  "luminance": 0.26283
}

Semantic roles & 50–950 ramp

primary
#AF6BF6
secondary
#DFF3CA
accent
#E50075
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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