#AF82CA#AF82CA

#AF82CA is a light, moderate violet. Relative luminance 0.293; OKLCH L 67.7% C 0.114 H 312.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#AF82CA
RGBrgb(175, 130, 202)
HSLhsl(278, 40%, 65%)
HSVhsv(278, 36%, 79%)
CMYKcmyk(13.4%, 35.6%, 0%, 20.8%)
CIE-LABlab(61.08, 30.58, -30.71)
CIE-LCHlch(61.08, 43.34, 314.87°)
OKLaboklab(67.67% 0.0766 -0.0845)
OKLCHoklch(67.67% 0.114 312.2)
XYZxyz(36.3207, 29.3441, 59.6163)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF82CA #9DCA82
analogous
#8B82CA #AF82CA #CA82C1
triadic
#AF82CA #CAAF82 #82CAAF
tetradic
#AF82CA #CA8B82 #9DCA82 #82C1CA
square
#AF82CA #CA8B82 #9DCA82 #82C1CA
split-complementary
#AF82CA #C1CA82 #82CA8B
monochromatic
#733E93 #9357B8 #AF82CA #CBADDC #E6D8EE

Accessibility & contrast

On white

3.06
#AF82CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#AF82CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF82CA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF82CA#FFFFFF#000000##000000
##AF82CA1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CD
Deuteranopia (green-blind)
#8094C8
Tritanopia (blue-blind)
#AD8C9D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af82ca;
/* rgb */ color: rgb(175, 130, 202);
/* oklch */ color: oklch(67.7% 0.114 312.2);
Tailwind
colors: {
  custom: {
    50: '#c8a7da',
    500: '#af82ca',
    950: '#000000',
  },
}
SCSS
$custom: #af82ca;
$custom-light: #c8a7da;
$custom-dark: #000000;
JSON
{
  "hex": "#af82ca",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 277.5,
    "s": 40.449,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67671,
    "c": 0.11406,
    "h": 312.2
  },
  "luminance": 0.29343
}

Semantic roles & 50–950 ramp

primary
#AF82CA
secondary
#D1E0C8
accent
#B33263
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF82CA

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

Preview Lab → · Contrast checker → · Palette generator →

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