#AF82CF#AF82CF

#AF82CF is a light, vivid violet. Relative luminance 0.296; OKLCH L 67.9% C 0.120 H 310.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AF82CF
RGBrgb(175, 130, 207)
HSLhsl(275, 45%, 66%)
HSVhsv(275, 37%, 81%)
CMYKcmyk(15.5%, 37.2%, 0%, 18.8%)
CIE-LABlab(61.29, 31.66, -33.20)
CIE-LCHlch(61.29, 45.88, 313.64°)
OKLaboklab(67.9% 0.0777 -0.0917)
OKLCHoklch(67.9% 0.12 310.3)
XYZxyz(36.9223, 29.5847, 62.7847)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF82CF #A2CF82
analogous
#8882CF #AF82CF #CF82C8
triadic
#AF82CF #CFAF82 #82CFAF
tetradic
#AF82CF #CF8882 #A2CF82 #82C8CF
square
#AF82CF #CF8882 #A2CF82 #82C8CF
split-complementary
#AF82CF #C8CF82 #82CF88
monochromatic
#733C9B #9356BE #AF82CF #CBAEE0 #E8DAF1

Accessibility & contrast

On white

3.04
#AF82CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AF82CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF82CF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF82CF#FFFFFF#000000##000000
##AF82CF1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7392D2
Deuteranopia (green-blind)
#7E95CD
Tritanopia (blue-blind)
#AB8D9F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af82cf;
/* rgb */ color: rgb(175, 130, 207);
/* oklch */ color: oklch(67.9% 0.120 310.3);
Tailwind
colors: {
  custom: {
    50: '#c8a7de',
    500: '#af82cf',
    950: '#000000',
  },
}
SCSS
$custom: #af82cf;
$custom-light: #c8a7de;
$custom-dark: #000000;
JSON
{
  "hex": "#af82cf",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 275.065,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.679,
    "c": 0.12017,
    "h": 310.3
  },
  "luminance": 0.29584
}

Semantic roles & 50–950 ramp

primary
#AF82CF
secondary
#D4E3CA
accent
#B82E67
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF82CF

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

Preview Lab → · Contrast checker → · Palette generator →

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