#AF6AF6#AF6AF6

#AF6AF6 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.2% C 0.205 H 304.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF6AF6
RGBrgb(175, 106, 246)
HSLhsl(270, 89%, 69%)
HSVhsv(270, 57%, 96%)
CMYKcmyk(28.9%, 56.9%, 0%, 3.5%)
CIE-LABlab(58.11, 53.58, -60.01)
CIE-LCHlch(58.11, 80.45, 311.76°)
OKLaboklab(66.16% 0.1147 -0.1695)
OKLCHoklch(66.16% 0.205 304.1)
XYZxyz(39.4641, 26.0760, 90.1250)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6AF6 #B1F66A
analogous
#6A6BF6 #AF6AF6 #F56AF6
triadic
#AF6AF6 #F6AF6A #6AF6AF
tetradic
#AF6AF6 #F66A6B #B1F66A #6AF6F5
square
#AF6AF6 #F66A6B #B1F66A #6AF6F5
split-complementary
#AF6AF6 #F6F56A #6BF66A
monochromatic
#710DD9 #9030F3 #AF6AF6 #CEA4F9 #EDDDFD

Accessibility & contrast

On white

3.38
#AF6AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AF6AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6AF6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6AF6#FFFFFF#000000##000000
##AF6AF61.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8AFB
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#A286A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af6af6;
/* rgb */ color: rgb(175, 106, 246);
/* oklch */ color: oklch(66.2% 0.205 304.1);
Tailwind
colors: {
  custom: {
    50: '#cb97fa',
    500: '#af6af6',
    950: '#000000',
  },
}
SCSS
$custom: #af6af6;
$custom-light: #cb97fa;
$custom-dark: #000000;
JSON
{
  "hex": "#af6af6",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 269.571,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66161,
    "c": 0.20464,
    "h": 304.1
  },
  "luminance": 0.26076
}

Semantic roles & 50–950 ramp

primary
#AF6AF6
secondary
#DEF2C9
accent
#E50074
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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