#AF76CD#AF76CD

#AF76CD is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.8% C 0.138 H 313.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF76CD
RGBrgb(175, 118, 205)
HSLhsl(279, 47%, 63%)
HSVhsv(279, 42%, 80%)
CMYKcmyk(14.6%, 42.4%, 0%, 19.6%)
CIE-LABlab(58.49, 37.91, -36.45)
CIE-LCHlch(58.49, 52.59, 316.12°)
OKLaboklab(65.76% 0.0948 -0.1009)
OKLCHoklch(65.76% 0.138 313.2)
XYZxyz(35.1752, 26.4793, 61.0038)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76CD #94CD76
analogous
#8376CD #AF76CD #CD76BF
triadic
#AF76CD #CDAF76 #76CDAF
tetradic
#AF76CD #CD8376 #94CD76 #76BFCD
square
#AF76CD #CD8376 #94CD76 #76BFCD
split-complementary
#AF76CD #BFCD76 #76CD83
monochromatic
#733693 #9549BD #AF76CD #C9A3DD #E3D0EE

Accessibility & contrast

On white

3.34
#AF76CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AF76CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76CD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76CD#FFFFFF#000000##000000
##AF76CD1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589D0
Deuteranopia (green-blind)
#748ECB
Tritanopia (blue-blind)
#AC8398
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af76cd;
/* rgb */ color: rgb(175, 118, 205);
/* oklch */ color: oklch(65.8% 0.138 313.2);
Tailwind
colors: {
  custom: {
    50: '#c89edc',
    500: '#af76cd',
    950: '#000000',
  },
}
SCSS
$custom: #af76cd;
$custom-light: #c89edc;
$custom-dark: #000000;
JSON
{
  "hex": "#af76cd",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 279.31,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65756,
    "c": 0.13845,
    "h": 313.2
  },
  "luminance": 0.26479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF76CD

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

Preview Lab → · Contrast checker → · Palette generator →

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