#AF5ADD#AF5ADD

#AF5ADD is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.4% C 0.201 H 311.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AF5ADD
RGBrgb(175, 90, 221)
HSLhsl(279, 66%, 61%)
HSVhsv(279, 59%, 87%)
CMYKcmyk(20.8%, 59.3%, 0%, 13.3%)
CIE-LABlab(53.65, 56.05, -53.15)
CIE-LCHlch(53.65, 77.24, 316.52°)
OKLaboklab(62.44% 0.1341 -0.1493)
OKLCHoklch(62.44% 0.201 311.9)
XYZxyz(34.3842, 21.6476, 70.7597)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5ADD #88DD5A
analogous
#6D5ADD #AF5ADD #DD5ACA
triadic
#AF5ADD #DDAF5A #5ADDAF
tetradic
#AF5ADD #DD6D5A #88DD5A #5ACADD
square
#AF5ADD #DD6D5A #88DD5A #5ACADD
split-complementary
#AF5ADD #CADD5A #5ADD6D
monochromatic
#71209C #952BCF #AF5ADD #C88DE7 #E0BFF2

Accessibility & contrast

On white

3.94
#AF5ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AF5ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5ADD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5ADD#FFFFFF#000000##000000
##AF5ADD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7CE1
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#AA7293
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5add;
/* rgb */ color: rgb(175, 90, 221);
/* oklch */ color: oklch(62.4% 0.201 311.9);
Tailwind
colors: {
  custom: {
    50: '#ca8de8',
    500: '#af5add',
    950: '#000000',
  },
}
SCSS
$custom: #af5add;
$custom-light: #ca8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#af5add",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 221
  },
  "hsl": {
    "h": 278.931,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62441,
    "c": 0.20068,
    "h": 311.9
  },
  "luminance": 0.21647
}

Semantic roles & 50–950 ramp

primary
#AF5ADD
secondary
#C2E2B1
accent
#CE1858
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF5ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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