#AF82CE#AF82CE

#AF82CE is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.9% C 0.119 H 310.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#AF82CE
RGBrgb(175, 130, 206)
HSLhsl(276, 44%, 66%)
HSVhsv(276, 37%, 81%)
CMYKcmyk(15%, 36.9%, 0%, 19.2%)
CIE-LABlab(61.25, 31.44, -32.70)
CIE-LCHlch(61.25, 45.37, 313.87°)
OKLaboklab(67.85% 0.0775 -0.0902)
OKLCHoklch(67.85% 0.119 310.7)
XYZxyz(36.8004, 29.5360, 62.1429)
Luminance0.2954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF82CE #A1CE82
analogous
#8982CE #AF82CE #CE82C7
triadic
#AF82CE #CEAF82 #82CEAF
tetradic
#AF82CE #CE8982 #A1CE82 #82C7CE
square
#AF82CE #CE8982 #A1CE82 #82C7CE
split-complementary
#AF82CE #C7CE82 #82CE89
monochromatic
#733C99 #9356BD #AF82CE #CBAEDF #E7DAF0

Accessibility & contrast

On white

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

On black

6.91
#AF82CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF82CE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF82CE#FFFFFF#000000##000000
##AF82CE1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D1
Deuteranopia (green-blind)
#7E95CC
Tritanopia (blue-blind)
#AC8D9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af82ce;
/* rgb */ color: rgb(175, 130, 206);
/* oklch */ color: oklch(67.9% 0.119 310.7);
Tailwind
colors: {
  custom: {
    50: '#c8a7dd',
    500: '#af82ce',
    950: '#000000',
  },
}
SCSS
$custom: #af82ce;
$custom-light: #c8a7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af82ce",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 206
  },
  "hsl": {
    "h": 275.526,
    "s": 43.678,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67854,
    "c": 0.11895,
    "h": 310.7
  },
  "luminance": 0.29535
}

Semantic roles & 50–950 ramp

primary
#AF82CE
secondary
#D4E2C9
accent
#B72F66
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF82CE

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

Preview Lab → · Contrast checker → · Palette generator →

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