#AF6AF8#AF6AF8

#AF6AF8 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.3% C 0.207 H 303.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AF6AF8
RGBrgb(175, 106, 248)
HSLhsl(269, 91%, 69%)
HSVhsv(269, 57%, 97%)
CMYKcmyk(29.4%, 57.3%, 0%, 2.7%)
CIE-LABlab(58.23, 54.04, -60.93)
CIE-LCHlch(58.23, 81.45, 311.57°)
OKLaboklab(66.28% 0.1147 -0.1722)
OKLCHoklch(66.28% 0.207 303.7)
XYZxyz(39.7727, 26.1994, 91.7504)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6AF8 #B3F86A
analogous
#6A6CF8 #AF6AF8 #F66AF8
triadic
#AF6AF8 #F8AF6A #6AF8AF
tetradic
#AF6AF8 #F86A6C #B3F86A #6AF8F6
square
#AF6AF8 #F86A6C #B3F86A #6AF8F6
split-complementary
#AF6AF8 #F8F66A #6CF86A
monochromatic
#710ADD #9030F5 #AF6AF8 #CEA4FB #EEDFFD

Accessibility & contrast

On white

3.37
#AF6AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AF6AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6AF8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6AF8#FFFFFF#000000##000000
##AF6AF81.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8AFD
Deuteranopia (green-blind)
#498CF5
Tritanopia (blue-blind)
#A286A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af6af8;
/* rgb */ color: rgb(175, 106, 248);
/* oklch */ color: oklch(66.3% 0.207 303.7);
Tailwind
colors: {
  custom: {
    50: '#cb97fb',
    500: '#af6af8',
    950: '#000000',
  },
}
SCSS
$custom: #af6af8;
$custom-light: #cb97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af6af8",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 269.155,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66284,
    "c": 0.20689,
    "h": 303.7
  },
  "luminance": 0.26199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF6AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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