#AF82CD#AF82CD

#AF82CD is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.8% C 0.118 H 311.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AF82CD
RGBrgb(175, 130, 205)
HSLhsl(276, 43%, 66%)
HSVhsv(276, 37%, 80%)
CMYKcmyk(14.6%, 36.6%, 0%, 19.6%)
CIE-LABlab(61.21, 31.23, -32.21)
CIE-LCHlch(61.21, 44.86, 314.11°)
OKLaboklab(67.81% 0.0773 -0.0888)
OKLCHoklch(67.81% 0.118 311)
XYZxyz(36.6793, 29.4875, 61.5052)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF82CD #A0CD82
analogous
#8982CD #AF82CD #CD82C5
triadic
#AF82CD #CDAF82 #82CDAF
tetradic
#AF82CD #CD8982 #A0CD82 #82C5CD
square
#AF82CD #CD8982 #A0CD82 #82C5CD
split-complementary
#AF82CD #C5CD82 #82CD89
monochromatic
#733D98 #9356BC #AF82CD #CBAEDE #E7D9F0

Accessibility & contrast

On white

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

On black

6.90
#AF82CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF82CD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF82CD#FFFFFF#000000##000000
##AF82CD1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491D0
Deuteranopia (green-blind)
#7E95CB
Tritanopia (blue-blind)
#AC8C9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af82cd;
/* rgb */ color: rgb(175, 130, 205);
/* oklch */ color: oklch(67.8% 0.118 311.0);
Tailwind
colors: {
  custom: {
    50: '#c8a7dc',
    500: '#af82cd',
    950: '#000000',
  },
}
SCSS
$custom: #af82cd;
$custom-light: #c8a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af82cd",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 276,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67808,
    "c": 0.11773,
    "h": 311
  },
  "luminance": 0.29487
}

Semantic roles & 50–950 ramp

primary
#AF82CD
secondary
#D3E2C9
accent
#B63065
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF82CD

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

Preview Lab → · Contrast checker → · Palette generator →

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