#AF76F0#AF76F0

#AF76F0 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.180 H 303.5°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AF76F0
RGBrgb(175, 118, 240)
HSLhsl(268, 80%, 70%)
HSVhsv(268, 51%, 94%)
CMYKcmyk(27.1%, 50.8%, 0%, 5.9%)
CIE-LABlab(60.21, 45.82, -53.32)
CIE-LCHlch(60.21, 70.30, 310.67°)
OKLaboklab(67.61% 0.0993 -0.1499)
OKLCHoklch(67.61% 0.18 303.5)
XYZxyz(39.8823, 28.3622, 85.7945)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76F0 #B7F076
analogous
#767AF0 #AF76F0 #EC76F0
triadic
#AF76F0 #F0AF76 #76F0AF
tetradic
#AF76F0 #F0767A #B7F076 #76F0EC
square
#AF76F0 #F0767A #B7F076 #76F0EC
split-complementary
#AF76F0 #F0EC76 #7AF076
monochromatic
#7017D4 #8F3FEA #AF76F0 #CFADF6 #EFE3FC

Accessibility & contrast

On white

3.15
#AF76F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#AF76F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76F0
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76F0#FFFFFF#000000##000000
##AF76F01.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F90F4
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#A38CA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af76f0;
/* rgb */ color: rgb(175, 118, 240);
/* oklch */ color: oklch(67.6% 0.180 303.5);
Tailwind
colors: {
  custom: {
    50: '#ca9ff5',
    500: '#af76f0',
    950: '#000000',
  },
}
SCSS
$custom: #af76f0;
$custom-light: #ca9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#af76f0",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 240
  },
  "hsl": {
    "h": 268.033,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67605,
    "c": 0.17985,
    "h": 303.5
  },
  "luminance": 0.28362
}

Semantic roles & 50–950 ramp

primary
#AF76F0
secondary
#E2F2D0
accent
#DD097A
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #AF76F0

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

Preview Lab → · Contrast checker → · Palette generator →

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