#AF83DB#AF83DB

#AF83DB is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.6% C 0.133 H 306.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AF83DB
RGBrgb(175, 131, 219)
HSLhsl(270, 55%, 69%)
HSVhsv(270, 40%, 86%)
CMYKcmyk(20.1%, 40.2%, 0%, 14.1%)
CIE-LABlab(62.05, 33.78, -38.74)
CIE-LCHlch(62.05, 51.40, 311.09°)
OKLaboklab(68.64% 0.0788 -0.1076)
OKLCHoklch(68.64% 0.133 306.2)
XYZxyz(38.5791, 30.4613, 70.8513)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83DB #AFDB83
analogous
#8383DB #AF83DB #DB83DB
triadic
#AF83DB #DBAF83 #83DBAF
tetradic
#AF83DB #DB8383 #AFDB83 #83DBDB
square
#AF83DB #DB8383 #AFDB83 #83DBDB
split-complementary
#AF83DB #DBDB83 #83DB83
monochromatic
#7233B0 #9054CD #AF83DB #CEB2E9 #ECE2F7

Accessibility & contrast

On white

2.96
#AF83DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AF83DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83DB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83DB#FFFFFF#000000##000000
##AF83DB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DE
Deuteranopia (green-blind)
#7996D9
Tritanopia (blue-blind)
#A991A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af83db;
/* rgb */ color: rgb(175, 131, 219);
/* oklch */ color: oklch(68.6% 0.133 306.2);
Tailwind
colors: {
  custom: {
    50: '#c8a7e6',
    500: '#af83db',
    950: '#000000',
  },
}
SCSS
$custom: #af83db;
$custom-light: #c8a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af83db",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 55,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68644,
    "c": 0.13335,
    "h": 306.2
  },
  "luminance": 0.30461
}

Semantic roles & 50–950 ramp

primary
#AF83DB
secondary
#DDEAD0
accent
#C32373
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF83DB

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

Preview Lab → · Contrast checker → · Palette generator →

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