#AF82CB#AF82CB

#AF82CB is a light, moderate violet. Relative luminance 0.294; OKLCH L 67.7% C 0.115 H 311.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AF82CB
RGBrgb(175, 130, 203)
HSLhsl(277, 41%, 65%)
HSVhsv(277, 36%, 80%)
CMYKcmyk(13.8%, 36%, 0%, 20.4%)
CIE-LABlab(61.13, 30.79, -31.21)
CIE-LCHlch(61.13, 43.84, 314.61°)
OKLaboklab(67.72% 0.0768 -0.086)
OKLCHoklch(67.72% 0.115 311.8)
XYZxyz(36.4395, 29.3916, 60.2419)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF82CB #9ECB82
analogous
#8A82CB #AF82CB #CB82C3
triadic
#AF82CB #CBAF82 #82CBAF
tetradic
#AF82CB #CB8A82 #9ECB82 #82C3CB
square
#AF82CB #CB8A82 #9ECB82 #82C3CB
split-complementary
#AF82CB #C3CB82 #82CB8A
monochromatic
#733E95 #9357B9 #AF82CB #CBADDD #E6D8EF

Accessibility & contrast

On white

3.05
#AF82CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#AF82CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF82CB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF82CB#FFFFFF#000000##000000
##AF82CB1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CE
Deuteranopia (green-blind)
#7F95C9
Tritanopia (blue-blind)
#AC8C9D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af82cb;
/* rgb */ color: rgb(175, 130, 203);
/* oklch */ color: oklch(67.7% 0.115 311.8);
Tailwind
colors: {
  custom: {
    50: '#c8a7db',
    500: '#af82cb',
    950: '#000000',
  },
}
SCSS
$custom: #af82cb;
$custom-light: #c8a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#af82cb",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 203
  },
  "hsl": {
    "h": 276.986,
    "s": 41.243,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67717,
    "c": 0.11528,
    "h": 311.8
  },
  "luminance": 0.29391
}

Semantic roles & 50–950 ramp

primary
#AF82CB
secondary
#D2E1C8
accent
#B43163
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF82CB

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

Preview Lab → · Contrast checker → · Palette generator →

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