#AF5ADC#AF5ADC

#AF5ADC is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.4% C 0.200 H 312.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF5ADC
RGBrgb(175, 90, 220)
HSLhsl(279, 65%, 61%)
HSVhsv(279, 59%, 86%)
CMYKcmyk(20.5%, 59.1%, 0%, 13.7%)
CIE-LABlab(53.59, 55.83, -52.67)
CIE-LCHlch(53.59, 76.76, 316.67°)
OKLaboklab(62.38% 0.1341 -0.1479)
OKLCHoklch(62.38% 0.2 312.2)
XYZxyz(34.2513, 21.5944, 70.0601)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5ADC #87DC5A
analogous
#6E5ADC #AF5ADC #DC5AC8
triadic
#AF5ADC #DCAF5A #5ADCAF
tetradic
#AF5ADC #DC6E5A #87DC5A #5AC8DC
square
#AF5ADC #DC6E5A #87DC5A #5AC8DC
split-complementary
#AF5ADC #C8DC5A #5ADC6E
monochromatic
#71219B #952CCD #AF5ADC #C78CE7 #E0BFF1

Accessibility & contrast

On white

3.95
#AF5ADC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AF5ADC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5ADC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5ADC#FFFFFF#000000##000000
##AF5ADC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7CE0
Deuteranopia (green-blind)
#5182D9
Tritanopia (blue-blind)
#AA7293
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5adc;
/* rgb */ color: rgb(175, 90, 220);
/* oklch */ color: oklch(62.4% 0.200 312.2);
Tailwind
colors: {
  custom: {
    50: '#ca8de7',
    500: '#af5adc',
    950: '#000000',
  },
}
SCSS
$custom: #af5adc;
$custom-light: #ca8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5adc",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 220
  },
  "hsl": {
    "h": 279.231,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62381,
    "c": 0.19964,
    "h": 312.2
  },
  "luminance": 0.21594
}

Semantic roles & 50–950 ramp

primary
#AF5ADC
secondary
#C1E2B0
accent
#CD1957
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF5ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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