#AF77CC#AF77CC

#AF77CC is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.9% C 0.136 H 313.4°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF77CC
RGBrgb(175, 119, 204)
HSLhsl(280, 45%, 63%)
HSVhsv(280, 42%, 80%)
CMYKcmyk(14.2%, 41.7%, 0%, 20%)
CIE-LABlab(58.67, 37.14, -35.61)
CIE-LCHlch(58.67, 51.45, 316.21°)
OKLaboklab(65.87% 0.0931 -0.0985)
OKLCHoklch(65.87% 0.136 313.4)
XYZxyz(35.1733, 26.6680, 60.4096)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77CC #94CC77
analogous
#8477CC #AF77CC #CC77BF
triadic
#AF77CC #CCAF77 #77CCAF
tetradic
#AF77CC #CC8477 #94CC77 #77BFCC
square
#AF77CC #CC8477 #94CC77 #77BFCC
split-complementary
#AF77CC #BFCC77 #77CC84
monochromatic
#733792 #954ABB #AF77CC #C9A4DD #E3D0ED

Accessibility & contrast

On white

3.32
#AF77CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AF77CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77CC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77CC#FFFFFF#000000##000000
##AF77CC1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ACF
Deuteranopia (green-blind)
#758FCA
Tritanopia (blue-blind)
#AD8398
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af77cc;
/* rgb */ color: rgb(175, 119, 204);
/* oklch */ color: oklch(65.9% 0.136 313.4);
Tailwind
colors: {
  custom: {
    50: '#c89fdc',
    500: '#af77cc',
    950: '#000000',
  },
}
SCSS
$custom: #af77cc;
$custom-light: #c89fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af77cc",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 279.529,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65874,
    "c": 0.13557,
    "h": 313.4
  },
  "luminance": 0.26667
}

Semantic roles & 50–950 ramp

primary
#AF77CC
secondary
#CBDFC0
accent
#B92D5D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF77CC

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

Preview Lab → · Contrast checker → · Palette generator →

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