#AF83DA#AF83DA

#AF83DA is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.6% C 0.132 H 306.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AF83DA
RGBrgb(175, 131, 218)
HSLhsl(270, 54%, 68%)
HSVhsv(270, 40%, 85%)
CMYKcmyk(19.7%, 39.9%, 0%, 14.5%)
CIE-LABlab(62.01, 33.55, -38.25)
CIE-LCHlch(62.01, 50.88, 311.26°)
OKLaboklab(68.6% 0.0786 -0.1062)
OKLCHoklch(68.6% 0.132 306.5)
XYZxyz(38.4479, 30.4088, 70.1601)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83DA #AEDA83
analogous
#8383DA #AF83DA #DA83D9
triadic
#AF83DA #DAAF83 #83DAAF
tetradic
#AF83DA #DA8383 #AEDA83 #83D9DA
square
#AF83DA #DA8383 #AEDA83 #83D9DA
split-complementary
#AF83DA #D9DA83 #83DA83
monochromatic
#7234AF #9154CC #AF83DA #CDB2E8 #ECE1F6

Accessibility & contrast

On white

2.97
#AF83DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AF83DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83DA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83DA#FFFFFF#000000##000000
##AF83DA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7094DD
Deuteranopia (green-blind)
#7A96D8
Tritanopia (blue-blind)
#A991A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af83da;
/* rgb */ color: rgb(175, 131, 218);
/* oklch */ color: oklch(68.6% 0.132 306.5);
Tailwind
colors: {
  custom: {
    50: '#c8a7e6',
    500: '#af83da',
    950: '#000000',
  },
}
SCSS
$custom: #af83da;
$custom-light: #c8a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af83da",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 218
  },
  "hsl": {
    "h": 270.345,
    "s": 54.037,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68595,
    "c": 0.1321,
    "h": 306.5
  },
  "luminance": 0.30409
}

Semantic roles & 50–950 ramp

primary
#AF83DA
secondary
#DCE9CF
accent
#C22472
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF83DA

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

Preview Lab → · Contrast checker → · Palette generator →

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