#AF76F9#AF76F9

#AF76F9 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.1% C 0.191 H 301.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AF76F9
RGBrgb(175, 118, 249)
HSLhsl(266, 92%, 72%)
HSVhsv(266, 53%, 98%)
CMYKcmyk(29.7%, 52.6%, 0%, 2.4%)
CIE-LABlab(60.70, 47.95, -57.52)
CIE-LCHlch(60.70, 74.89, 309.82°)
OKLaboklab(68.13% 0.0999 -0.1622)
OKLCHoklch(68.13% 0.191 301.6)
XYZxyz(41.2526, 28.9103, 93.0111)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76F9 #C0F976
analogous
#767FF9 #AF76F9 #F176F9
triadic
#AF76F9 #F9AF76 #76F9AF
tetradic
#AF76F9 #F9767F #C0F976 #76F9F1
square
#AF76F9 #F9767F #C0F976 #76F9F1
split-complementary
#AF76F9 #F9F176 #7FF976
monochromatic
#6C0AEA #8D3BF6 #AF76F9 #D1B1FC #EEE2FE

Accessibility & contrast

On white

3.10
#AF76F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#AF76F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76F9
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76F9#FFFFFF#000000##000000
##AF76F91.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FD
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#A18FAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af76f9;
/* rgb */ color: rgb(175, 118, 249);
/* oklch */ color: oklch(68.1% 0.191 301.6);
Tailwind
colors: {
  custom: {
    50: '#ca9ffc',
    500: '#af76f9',
    950: '#000000',
  },
}
SCSS
$custom: #af76f9;
$custom-light: #ca9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#af76f9",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 249
  },
  "hsl": {
    "h": 266.107,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68125,
    "c": 0.19053,
    "h": 301.6
  },
  "luminance": 0.2891
}

Semantic roles & 50–950 ramp

primary
#AF76F9
secondary
#E8F6D5
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #AF76F9

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

Preview Lab → · Contrast checker → · Palette generator →

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