#AF77F0#AF77F0

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

Color values

HEX#AF77F0
RGBrgb(175, 119, 240)
HSLhsl(268, 80%, 70%)
HSVhsv(268, 50%, 94%)
CMYKcmyk(27.1%, 50.4%, 0%, 5.9%)
CIE-LABlab(60.43, 45.27, -52.99)
CIE-LCHlch(60.43, 69.69, 310.51°)
OKLaboklab(67.76% 0.098 -0.1489)
OKLCHoklch(67.76% 0.178 303.4)
XYZxyz(40.0007, 28.5989, 85.8340)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77F0 #B8F077
analogous
#777BF0 #AF77F0 #EC77F0
triadic
#AF77F0 #F0AF77 #77F0AF
tetradic
#AF77F0 #F0777B #B8F077 #77F0EC
square
#AF77F0 #F0777B #B8F077 #77F0EC
split-complementary
#AF77F0 #F0EC77 #7BF077
monochromatic
#6F18D5 #8F40EA #AF77F0 #CFAEF6 #EFE3FC

Accessibility & contrast

On white

3.13
#AF77F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF77F0#FFFFFF#000000##000000
##AF77F01.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5090F4
Deuteranopia (green-blind)
#6092ED
Tritanopia (blue-blind)
#A38DA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af77f0;
/* rgb */ color: rgb(175, 119, 240);
/* oklch */ color: oklch(67.8% 0.178 303.4);
Tailwind
colors: {
  custom: {
    50: '#caa0f5',
    500: '#af77f0',
    950: '#000000',
  },
}
SCSS
$custom: #af77f0;
$custom-light: #caa0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af77f0",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 240
  },
  "hsl": {
    "h": 267.769,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67762,
    "c": 0.17832,
    "h": 303.4
  },
  "luminance": 0.28599
}

Semantic roles & 50–950 ramp

primary
#AF77F0
secondary
#E3F2D1
accent
#DC097B
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #AF77F0

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

Preview Lab → · Contrast checker → · Palette generator →

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