#AF76F6#AF76F6

#AF76F6 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.187 H 302.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AF76F6
RGBrgb(175, 118, 246)
HSLhsl(267, 88%, 71%)
HSVhsv(267, 52%, 96%)
CMYKcmyk(28.9%, 52%, 0%, 3.5%)
CIE-LABlab(60.54, 47.24, -56.13)
CIE-LCHlch(60.54, 73.36, 310.08°)
OKLaboklab(67.95% 0.0998 -0.1581)
OKLCHoklch(67.95% 0.187 302.2)
XYZxyz(40.7884, 28.7246, 90.5665)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76F6 #BDF676
analogous
#767DF6 #AF76F6 #EF76F6
triadic
#AF76F6 #F6AF76 #76F6AF
tetradic
#AF76F6 #F6767D #BDF676 #76F6EF
square
#AF76F6 #F6767D #BDF676 #76F6EF
split-complementary
#AF76F6 #F6EF76 #7DF676
monochromatic
#6D0FE3 #8D3DF2 #AF76F6 #D1AFFA #EEE2FD

Accessibility & contrast

On white

3.11
#AF76F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#AF76F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76F6
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76F6#FFFFFF#000000##000000
##AF76F61.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FA
Deuteranopia (green-blind)
#5A92F3
Tritanopia (blue-blind)
#A28EAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af76f6;
/* rgb */ color: rgb(175, 118, 246);
/* oklch */ color: oklch(68.0% 0.187 302.2);
Tailwind
colors: {
  custom: {
    50: '#ca9ffa',
    500: '#af76f6',
    950: '#000000',
  },
}
SCSS
$custom: #af76f6;
$custom-light: #ca9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#af76f6",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 266.719,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6795,
    "c": 0.18698,
    "h": 302.2
  },
  "luminance": 0.28725
}

Semantic roles & 50–950 ramp

primary
#AF76F6
secondary
#E6F5D3
accent
#E4017F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #AF76F6

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

Preview Lab → · Contrast checker → · Palette generator →

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