#AF76ED#AF76ED

#AF76ED is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.176 H 304.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AF76ED
RGBrgb(175, 118, 237)
HSLhsl(269, 77%, 70%)
HSVhsv(269, 50%, 93%)
CMYKcmyk(26.2%, 50.2%, 0%, 7.1%)
CIE-LABlab(60.06, 45.11, -51.91)
CIE-LCHlch(60.06, 68.77, 310.99°)
OKLaboklab(67.44% 0.0991 -0.1458)
OKLCHoklch(67.44% 0.176 304.2)
XYZxyz(39.4404, 28.1854, 83.4669)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76ED #B4ED76
analogous
#7679ED #AF76ED #EA76ED
triadic
#AF76ED #EDAF76 #76EDAF
tetradic
#AF76ED #ED7679 #B4ED76 #76EDEA
square
#AF76ED #ED7679 #B4ED76 #76EDEA
split-complementary
#AF76ED #EDEA76 #79ED76
monochromatic
#711BCE #8F40E6 #AF76ED #CFACF4 #EEE2FB

Accessibility & contrast

On white

3.16
#AF76ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#AF76ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76ED
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76ED#FFFFFF#000000##000000
##AF76ED1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF1
Deuteranopia (green-blind)
#6191EA
Tritanopia (blue-blind)
#A48BA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af76ed;
/* rgb */ color: rgb(175, 118, 237);
/* oklch */ color: oklch(67.4% 0.176 304.2);
Tailwind
colors: {
  custom: {
    50: '#ca9ff3',
    500: '#af76ed',
    950: '#000000',
  },
}
SCSS
$custom: #af76ed;
$custom-light: #ca9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#af76ed",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 268.739,
    "s": 76.774,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67436,
    "c": 0.17629,
    "h": 304.2
  },
  "luminance": 0.28185
}

Semantic roles & 50–950 ramp

primary
#AF76ED
secondary
#E0F0CE
accent
#D90D77
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AF76ED

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

Preview Lab → · Contrast checker → · Palette generator →

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