#AF76F4#AF76F4

#AF76F4 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.185 H 302.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AF76F4
RGBrgb(175, 118, 244)
HSLhsl(267, 85%, 71%)
HSVhsv(267, 52%, 96%)
CMYKcmyk(28.3%, 51.6%, 0%, 4.3%)
CIE-LABlab(60.43, 46.76, -55.20)
CIE-LCHlch(60.43, 72.34, 310.27°)
OKLaboklab(67.83% 0.0996 -0.1554)
OKLCHoklch(67.83% 0.185 302.7)
XYZxyz(40.4831, 28.6025, 88.9585)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76F4 #BBF476
analogous
#767CF4 #AF76F4 #EE76F4
triadic
#AF76F4 #F4AF76 #76F4AF
tetradic
#AF76F4 #F4767C #BBF476 #76F4EE
square
#AF76F4 #F4767C #BBF476 #76F4EE
split-complementary
#AF76F4 #F4EE76 #7CF476
monochromatic
#6E12DE #8E3DEF #AF76F4 #D0AFF9 #EEE3FD

Accessibility & contrast

On white

3.12
#AF76F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#AF76F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76F4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76F4#FFFFFF#000000##000000
##AF76F41.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F8
Deuteranopia (green-blind)
#5C91F1
Tritanopia (blue-blind)
#A28EAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af76f4;
/* rgb */ color: rgb(175, 118, 244);
/* oklch */ color: oklch(67.8% 0.185 302.7);
Tailwind
colors: {
  custom: {
    50: '#ca9ff8',
    500: '#af76f4',
    950: '#000000',
  },
}
SCSS
$custom: #af76f4;
$custom-light: #ca9ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#af76f4",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 244
  },
  "hsl": {
    "h": 267.143,
    "s": 85.135,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67834,
    "c": 0.1846,
    "h": 302.7
  },
  "luminance": 0.28602
}

Semantic roles & 50–950 ramp

primary
#AF76F4
secondary
#E4F4D2
accent
#E2047D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #AF76F4

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

Preview Lab → · Contrast checker → · Palette generator →

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