#AF76FF#AF76FF

#AF76FF is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.5% C 0.198 H 300.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AF76FF
RGBrgb(175, 118, 255)
HSLhsl(265, 100%, 73%)
HSVhsv(265, 54%, 100%)
CMYKcmyk(31.4%, 53.7%, 0%, 0%)
CIE-LABlab(61.04, 49.39, -60.29)
CIE-LCHlch(61.04, 77.94, 309.33°)
OKLaboklab(68.48% 0.1002 -0.1703)
OKLCHoklch(68.48% 0.198 300.5)
XYZxyz(42.2034, 29.2906, 98.0186)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76FF #C6FF76
analogous
#7681FF #AF76FF #F476FF
triadic
#AF76FF #FFAF76 #76FFAF
tetradic
#AF76FF #FF7681 #C6FF76 #76FFF4
square
#AF76FF #FF7681 #C6FF76 #76FFF4
split-complementary
#AF76FF #FFF476 #81FF76
monochromatic
#6800FB #8B39FF #AF76FF #D3B3FF #EDE0FF

Accessibility & contrast

On white

3.06
#AF76FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#AF76FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76FF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76FF#FFFFFF#000000##000000
##AF76FF1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4093FF
Deuteranopia (green-blind)
#5292FC
Tritanopia (blue-blind)
#9F91AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af76ff;
/* rgb */ color: rgb(175, 118, 255);
/* oklch */ color: oklch(68.5% 0.198 300.5);
Tailwind
colors: {
  custom: {
    50: '#cb9fff',
    500: '#af76ff',
    950: '#000000',
  },
}
SCSS
$custom: #af76ff;
$custom-light: #cb9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#af76ff",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 255
  },
  "hsl": {
    "h": 264.964,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6848,
    "c": 0.19763,
    "h": 300.5
  },
  "luminance": 0.29291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF76FF

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

Preview Lab → · Contrast checker → · Palette generator →

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