#AF76FD#AF76FD

#AF76FD is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.4% C 0.195 H 300.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AF76FD
RGBrgb(175, 118, 253)
HSLhsl(265, 97%, 73%)
HSVhsv(265, 53%, 99%)
CMYKcmyk(30.8%, 53.4%, 0%, 0.8%)
CIE-LABlab(60.92, 48.91, -59.37)
CIE-LCHlch(60.92, 76.92, 309.48°)
OKLaboklab(68.36% 0.1001 -0.1676)
OKLCHoklch(68.36% 0.195 300.9)
XYZxyz(41.8831, 29.1625, 96.3318)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76FD #C4FD76
analogous
#7681FD #AF76FD #F276FD
triadic
#AF76FD #FDAF76 #76FDAF
tetradic
#AF76FD #FD7681 #C4FD76 #76FDF2
square
#AF76FD #FD7681 #C4FD76 #76FDF2
split-complementary
#AF76FD #FDF276 #81FD76
monochromatic
#6A04F5 #8C3AFC #AF76FD #D2B2FE #EDE1FF

Accessibility & contrast

On white

3.07
#AF76FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#AF76FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76FD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76FD#FFFFFF#000000##000000
##AF76FD1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#5492FA
Tritanopia (blue-blind)
#9F90AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af76fd;
/* rgb */ color: rgb(175, 118, 253);
/* oklch */ color: oklch(68.4% 0.195 300.9);
Tailwind
colors: {
  custom: {
    50: '#ca9fff',
    500: '#af76fd',
    950: '#000000',
  },
}
SCSS
$custom: #af76fd;
$custom-light: #ca9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#af76fd",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 253
  },
  "hsl": {
    "h": 265.333,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68361,
    "c": 0.19526,
    "h": 300.9
  },
  "luminance": 0.29163
}

Semantic roles & 50–950 ramp

primary
#AF76FD
secondary
#E8F7D4
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #AF76FD

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

Preview Lab → · Contrast checker → · Palette generator →

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