#AF83CC#AF83CC

#AF83CC is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.9% C 0.115 H 311.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AF83CC
RGBrgb(175, 131, 204)
HSLhsl(276, 42%, 66%)
HSVhsv(276, 36%, 80%)
CMYKcmyk(14.2%, 35.8%, 0%, 20%)
CIE-LABlab(61.40, 30.45, -31.35)
CIE-LCHlch(61.40, 43.70, 314.16°)
OKLaboklab(67.94% 0.0756 -0.0864)
OKLCHoklch(67.94% 0.115 311.2)
XYZxyz(36.6927, 29.7067, 60.9160)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83CC #A0CC83
analogous
#8A83CC #AF83CC #CC83C4
triadic
#AF83CC #CCAF83 #83CCAF
tetradic
#AF83CC #CC8A83 #A0CC83 #83C4CC
square
#AF83CC #CC8A83 #A0CC83 #83C4CC
split-complementary
#AF83CC #C4CC83 #83CC8A
monochromatic
#733E97 #9358BA #AF83CC #CBAEDE #E7DAF0

Accessibility & contrast

On white

3.03
#AF83CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#AF83CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF83CC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83CC#FFFFFF#000000##000000
##AF83CC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CF
Deuteranopia (green-blind)
#8095CA
Tritanopia (blue-blind)
#AC8D9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af83cc;
/* rgb */ color: rgb(175, 131, 204);
/* oklch */ color: oklch(67.9% 0.115 311.2);
Tailwind
colors: {
  custom: {
    50: '#c8a7db',
    500: '#af83cc',
    950: '#000000',
  },
}
SCSS
$custom: #af83cc;
$custom-light: #c8a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#af83cc",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 204
  },
  "hsl": {
    "h": 276.164,
    "s": 41.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67939,
    "c": 0.11476,
    "h": 311.2
  },
  "luminance": 0.29706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF83CC

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

Preview Lab → · Contrast checker → · Palette generator →

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