#AF7FC0#AF7FC0

#AF7FC0 is a light, moderate purple. Relative luminance 0.281; OKLCH L 66.7% C 0.107 H 317.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AF7FC0
RGBrgb(175, 127, 192)
HSLhsl(284, 34%, 63%)
HSVhsv(284, 34%, 75%)
CMYKcmyk(8.9%, 33.9%, 0%, 24.7%)
CIE-LABlab(59.98, 30.14, -26.77)
CIE-LCHlch(59.98, 40.32, 318.39°)
OKLaboklab(66.7% 0.0786 -0.0733)
OKLCHoklch(66.7% 0.107 317)
XYZxyz(34.7816, 28.0993, 53.4504)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7FC0 #90C07F
analogous
#8F7FC0 #AF7FC0 #C07FB0
triadic
#AF7FC0 #C0AF7F #7FC0AF
tetradic
#AF7FC0 #C08F7F #90C07F #7FB0C0
square
#AF7FC0 #C08F7F #90C07F #7FB0C0
split-complementary
#AF7FC0 #B0C07F #7FC08F
monochromatic
#724184 #9556AC #AF7FC0 #C9A8D4 #E2D1E8

Accessibility & contrast

On white

3.17
#AF7FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#AF7FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7FC0
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7FC0#FFFFFF#000000##000000
##AF7FC01.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#768DC3
Deuteranopia (green-blind)
#8192BE
Tritanopia (blue-blind)
#AF8797
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af7fc0;
/* rgb */ color: rgb(175, 127, 192);
/* oklch */ color: oklch(66.7% 0.107 317.0);
Tailwind
colors: {
  custom: {
    50: '#c7a4d3',
    500: '#af7fc0',
    950: '#000000',
  },
}
SCSS
$custom: #af7fc0;
$custom-light: #c7a4d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af7fc0",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 192
  },
  "hsl": {
    "h": 284.308,
    "s": 34.031,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66698,
    "c": 0.10748,
    "h": 317
  },
  "luminance": 0.28098
}

Semantic roles & 50–950 ramp

primary
#AF7FC0
secondary
#C8D9C2
accent
#AD3957
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF7FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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